SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Hide SubTotal for only one record
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ciupaz
Posting Yak Master

Italy
232 Posts

Posted - 07/17/2013 :  06:18:40  Show Profile  Reply with Quote
Hello all,
In my Matrix I show a SubTotal (right click for the last row Group) to show the totals, but I'd like to hide it if I got only one record.
Is it possible to perform this?

Thanks in advance.

Luigi

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 07/17/2013 :  07:13:49  Show Profile  Reply with Quote
Yes. Write an expression for the hidden property of the column. something like

=IIF(CountRows("GroupName")=1,True,False)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

Ciupaz
Posting Yak Master

Italy
232 Posts

Posted - 07/17/2013 :  10:11:03  Show Profile  Reply with Quote
Thank you very much Visakh.

Luigi
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 07/17/2013 :  11:15:51  Show Profile  Reply with Quote
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000