I have a a Tablix in SSRS 2008 and I have a Column that sometimes has data and sometimes doesn't. I want to hide the column if NO rows have data.
So this would hide Column 2:
Column 1 Column 2 Column 3 Column 4
1 3 4
2 3 4
This would NOT hide Column 2:
Column 1 Column 2 Column 3 Column 4
1 3 4
2 2 3 4
Is there a way to do this in SSRS 2008?
Thanks!
I suspect you'll have to get inventive. For example run a query to get a count of non empty rows for the column. Then use the count result as part of an expression on the visibility property of the column. I.e. If count greater than zero... show.
This might help
Reporting Services - hide table column based upon report parameter