Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 =SUM Question

Author  Topic 

bkana
Starting Member

18 Posts

Posted - 2007-01-25 : 11:37:30
The results of my query in SRS give me a column with payment types (visa, MC, AMEX, etc)and thier relative amounts. I also have a unique productID for each that I also pull into the query. I need to break down the totals for each one at the end of the report - one line for all the visa totals, and so forth. How do I specify the amounts for each one?

Thanks,
Bill

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-01-25 : 11:57:48
Don't try to do it in the first table on the report. Add a second table that just shows the grouping not the detail rows (or create a second query that just returns the grouped totals to use with the second table).
Go to Top of Page

bkana
Starting Member

18 Posts

Posted - 2007-01-25 : 14:10:04
Forgive my ignorance, but would I just add a table, then add a group for the grouping and delete the details row - or is there an option to hide the details row. Could you elaborate more on the correct syntax as well?

Thanks for your help.
Go to Top of Page

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-01-25 : 14:17:08
Set the visibility of the details to hidden.

See the following from the docs
http://msdn2.microsoft.com/en-us/library/ms157454.aspx
http://msdn2.microsoft.com/en-us/library/ms156487.aspx
http://msdn2.microsoft.com/en-us/library/ms159169.aspx
Go to Top of Page

bkana
Starting Member

18 Posts

Posted - 2007-01-26 : 06:36:37
Thanks for the info!
Go to Top of Page
   

- Advertisement -