Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

ssrs 2008 visibility of column Expand / Collapse
Author
Message
Posted Friday, April 18, 2014 3:15 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Saturday, August 16, 2014 10:01 AM
Points: 365, Visits: 426
In an SSRS 2008 r2 report, I just added some 3 more column groups to the existing detail line report. The name of the column groups are called type, section, and category. The user wants these new column groups to be displayed in most cases except for customers that live in California. When the customer lives in California, the user does not want the columns to be displayed.
When I try to see the visibility property for these 3 columns that are setup as a grouping, the option to set the visibility of the column is grayed out (I can not use it).

I have set the advanced mode option on so that I work with the column groups. When I select the applicable static columns for type, section, and category columns with the following visibility expression =IIF(Parameters!state.Value = "ca", False, True), no detail rows are displayed. This is for records where the state is CA. When the state is not ca, then the detail rows are displayed.

When I only work with the rows group, I get the same result that I just listed above.

Thus is there a way to set the visibility column for columns that are setup as groups? If so, can you tell me how to accomplish this goal? If this is not possible, Can you tell me any other way that would accomplish my goal?
Post #1563181
Posted Friday, April 18, 2014 10:23 PM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 9:51 PM
Points: 745, Visits: 4,766
I think your only option is to do something like this:

IIF([State]='CA',NULL,[ValueColumn])
Post #1563211
Posted Saturday, April 19, 2014 4:42 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Saturday, August 16, 2014 10:01 AM
Points: 365, Visits: 426
So you are saying that I can not hide the column, but I can keep from showing any values in the column, correct?
Post #1563301
Posted Saturday, April 19, 2014 9:14 PM
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 9:51 PM
Points: 745, Visits: 4,766
Yes, that's what I'm saying. I could be wrong, but I couldn't get it to work any other way. Would love an SSRS wizard to set me right.
Post #1563308
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse