Hello All,
I am having problems while calculating the total percentage of fields which are in the details sections and in the group header which the final result must show 100.
My report has:
Group Header #1: CCY ( I am using SQL Expression called Cash to get the Amount on the specified period)
Group Header #2
ARTY
Details ----
formula = {@MarketP}/{@rm}
{@MarketP}=Capital(field from the DB) * Backrate( field from the DB) / 100
{@rm}= Sum (Values)+ Content Price(field from the DB)
Now, my first question is how to get the percentage for each field while printing the formula
and get the total of percentages at the end of Group Footer #2
But, at the same time while printing the total in report footer (the result should be) = sum (percentages for group #2) + Cash percentage = 100
In my case I used the instructions which lbass told me and it worked
,but a new requirement was raised that to include the Cash while calculating and make the total =100.
In my case it exceeded 100, so what can I do?
Thanks and Regards
I am having problems while calculating the total percentage of fields which are in the details sections and in the group header which the final result must show 100.
My report has:
Group Header #1: CCY ( I am using SQL Expression called Cash to get the Amount on the specified period)
Group Header #2
Details ----
formula = {@MarketP}/{@rm}
{@MarketP}=Capital(field from the DB) * Backrate( field from the DB) / 100
{@rm}= Sum (Values)+ Content Price(field from the DB)
Now, my first question is how to get the percentage for each field while printing the formula
and get the total of percentages at the end of Group Footer #2
But, at the same time while printing the total in report footer (the result should be) = sum (percentages for group #2) + Cash percentage = 100
In my case I used the instructions which lbass told me and it worked
,but a new requirement was raised that to include the Cash while calculating and make the total =100.
In my case it exceeded 100, so what can I do?
Thanks and Regards