SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


ssrs 2008 visibility of column


ssrs 2008 visibility of column

Author
Message
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1225 Visits: 772
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?
pietlinden
pietlinden
SSCarpal Tunnel
SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)

Group: General Forum Members
Points: 4904 Visits: 13172
I think your only option is to do something like this:

IIF([State]='CA',NULL,[ValueColumn])
wendy elizabeth
wendy elizabeth
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1225 Visits: 772
So you are saying that I can not hide the column, but I can keep from showing any values in the column, correct?
pietlinden
pietlinden
SSCarpal Tunnel
SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)SSCarpal Tunnel (4.9K reputation)

Group: General Forum Members
Points: 4904 Visits: 13172
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search