How to make a column invisible in an ssrs matrix

前端 未结 2 1477
慢半拍i
慢半拍i 2020-12-19 12:40

I have an ssrs matrix , the design of which looks like this :

\"enter

The sql

相关标签:
2条回答
  • 2020-12-19 13:17

    I don't know, why it shows blank space, but here is how I handled this problem:

    1. Choose "column visibility" property of column "Change" enter image description here
    2. Then I added expression for hiding column: =IIF(Month(Fields!Date.Value)=Parameters!UserSelectedDate.Value,True,False)

    And when I select report parameter to 1 and preview the report, it hides Change column for month 1: enter image description here

    0 讨论(0)
  • 2020-12-19 13:20

    This answer works only for matrixed (varied count) columns. But in all reports client want to group report data dynamicly and select column that one want to see. So if I have matrix for example with columns -

    [Store] [Good] [Amount Jan] [Amount Feb].... [Amount Dec]

    I can hide any column with Amount but If I right click on column Store - No option in menu- Column properties and option Column Visibility - Disabled. If apply visibility to cells - you'll see a blank space.

    0 讨论(0)
提交回复
热议问题