mohsinhasan87
Programmer
Hi,
I have one group on my report which has two fields Gross and Net.On details I have their details and on the group footer I have their summary as sum of both gross and net and on the report footer again sum summary of gross and net.
Eg:
Details :
Name Gross Net
ABC 100 200
XYZ 200 300
----------------
Group Footer:
300 500
----------------
Name Gross Net
DEF 200 300
----------------
Group Footer :
200 300
-----------------
Report Footer :
500 800
What I want to achieve is subtract report footer field
Eg: 500-800 = -300.
How can I achieve this? I tried this formula
sum({field1}) - sum(field2) but it says result should be boolean then I did this
sum({field1}) - sum(field2) > 0. No errors but also no data.
Please help .
Thank you
I have one group on my report which has two fields Gross and Net.On details I have their details and on the group footer I have their summary as sum of both gross and net and on the report footer again sum summary of gross and net.
Eg:
Details :
Name Gross Net
ABC 100 200
XYZ 200 300
----------------
Group Footer:
300 500
----------------
Name Gross Net
DEF 200 300
----------------
Group Footer :
200 300
-----------------
Report Footer :
500 800
What I want to achieve is subtract report footer field
Eg: 500-800 = -300.
How can I achieve this? I tried this formula
sum({field1}) - sum(field2) but it says result should be boolean then I did this
sum({field1}) - sum(field2) > 0. No errors but also no data.
Please help .
Thank you