问题
I'm trying to hide a column but it belongs in the RowGroups area. Unfortunately, the Column Visibility is greyed out and disabled. I'd like to just hide the column under certain conditions (using expressions) but keep the grouping.
I found a similar question on SO but its solution did not work for me. Is there a workaround for this?
ssrs column visibility inside row groups
I've tried shifting some of the columns to the body area of the tablix, but then I can't merge cells vertically. I'm not sure what my options are.
In the image below, I'm trying to hide the first column but the Column Visibility option is disabled.

SSRS 2008 R2
回答1:
Are you trying to remove Column 1? If you right click on the column header and choose Delete Column it will prompt you to either delete column and associated groups or column only. If you choose column only the grouping should remain.
回答2:
You can choose a column and then navigate to Visibility property in the property bar. You can enter expressions there as well as just choosing true or false. However in this case it would just leave a space instead of that field.
回答3:
I had the same problem with the grayed out column visibility and the solutions I found online weren't working, so hopefully this will help someone else out.
You have to basically trick it into working. Here’s how I did it:
- Click on the tablix, then right click on the gray column properties thing on the column to the right of the column you’re interested in.
- Choose Add Group>adjacent left.
- In the group by field, enter False because you don’t really want it to group.
- Now you can right click on the gray column properties box and choose visibility.
- Enter your function for visibility.
- Now copy and paste everything you need from the ‘broken’ column where you couldn’t adjust the visibility into your new column.
- Delete the old column.
回答4:
in visual studio, below design box, you can find row groups & column groups, right side of column group you can find down arrow, if you click on that you will find [ advance mode] once it is opened, right click on the first row group, click group property, select visibility , click on hide


Done, Pl check
回答5:
- Delete the column
- Select the option "Delete columns only"
- Add a new column (without an associated row group)
- Assign the field to the new column
The new column will use the row group as the granularity is equal.
回答6:
On the details row group add list of column you want the data to be grouped by.
来源:https://stackoverflow.com/questions/11891704/ssrs-setting-column-visibility-on-rowgroup