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
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 add total row in report

Author  Topic 

PatDeV
Posting Yak Master

197 Posts

Posted - 2007-08-06 : 17:09:48
Hi all,

I have sales reports and I want to add row at the end of page or end of report
product quater 1 quater 2
bike 45000.00 20000.00
;
;
;
;
;

Total 2000000.00 2000000.00

Thanks
Pat

Hommer
Aged Yak Warrior

808 Posts

Posted - 2007-08-14 : 15:29:04
Select Product, [quater 1], [quarter 2] from tblA
UNION
Select 'Total', Sum[quater 1], SUM[quarter 2] from tblA
Go to Top of Page
   

- Advertisement -