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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Analysis Server and Reporting Services (2005)
 Matrix grand total ssrs 2005
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

collie
Constraint Violating Yak Guru

400 Posts

Posted - 02/22/2010 :  04:22:04  Show Profile  Reply with Quote
Hi,

I have the matrix in the image below. I need to add a total at the bottom of the report to total each column group (total AR,TAK,EU etc).
If i had a subtotal it totals each row separately. I need the grand total. Is this possible?

Thanks

design

result that i get but i need the grand total at the footer and not subtotal.


Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 02/22/2010 :  08:20:44  Show Profile  Reply with Quote
you can make the total show grandtotal by putting a conditional expression in detail column. something like

=IIF(Inscope("ColumnGroup"),current expression, SUM(your expression,"dataset"))

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/


Edited by - visakh16 on 02/22/2010 08:20:59
Go to Top of Page

collie
Constraint Violating Yak Guru

400 Posts

Posted - 02/23/2010 :  12:17:44  Show Profile  Reply with Quote
Thanks for the response.

I have tried the following but still the result is same as fig above
I replaced the values of the row cells such as (=Sum(Fields!Value_of_Invoices.Value)) with:
=IIF(Inscope("matrix1_businessunit_shortname"),sum(Fields!Value_of_Invoices.Value)+ Sum(Fields!Total_Quantity.Value)+sum(Fields!Total_Cartons.Value),Sum(Fields!Total_Quantity.Value))

I am at a total loss.

Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 02/23/2010 :  12:22:09  Show Profile  Reply with Quote
for the else part, you need to specify the scope to get grand total, Sum(Fields!Total_Quantity.Value,"your dataset name")

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

collie
Constraint Violating Yak Guru

400 Posts

Posted - 02/24/2010 :  04:54:24  Show Profile  Reply with Quote
Still not getting the desired results :(

Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52326 Posts

Posted - 02/24/2010 :  10:15:15  Show Profile  Reply with Quote
may be because you're not doing it properly

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Andyf
Starting Member

Argentina
1 Posts

Posted - 12/27/2013 :  16:43:04  Show Profile  Reply with Quote
Hi! I have resolved this issue dropping just another Matrix right under the original one. The "Columns" value remain the same but in the Rows value I grouped by the information I needed.

Then I added a Subtotal to that Matrix, and that was de Grand Total of the whole report.

Good luck and happy new year.
Andrew.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000