I have a report which calls a stored proc. All the details columns i display is conditional. So If my SQL returns 100 columns, I might display 10 rows for a report type A, 15 rows for Report type B and so on.
When I try to do the grand total in the Group Footer section, I want to sum the values in the detail section that is displayed on the report but not the sum of all the fields .
I tried giving detail section a formula which takes the column from the SQL,
then tried to sum on this formula for the total. But its not working.
How to handle this ?
Any Suggestions ?
Thanks,
Kiran