简体   繁体   English

列可见性基于每个组SSRS 2008

[英]Column Visibility Based on each group SSRS 2008

![enter image description here][1]I am trying to achieve column visibility based on group name. ![在此处输入图片描述] [1]我正在尝试根据组名实现列的可见性。 As you will see in my picture that I have displayed data based on my group name which are leakcheck, evac, pressure. 如您在我的图片中所看到的,我已经根据组名显示了数据,即泄漏检查,疏散,压力。 I have used code below in advanced mode in the column properties for column 2 (temp 1), when i used this code my column 2 disappeared for all the phase_type instead of just phase_type 2 and I have checked this forum for corrected answer but no luck. 我在高级模式下在下面的代码中使用了第2列(临时1)的列属性,当我使用此代码时,我的第2列对于所有phase_type都消失了,而不仅仅是phase_type 2,并且我已经在这个论坛上检查了正确的答案,但是没有运气。 I have tried just selecting that temp 1 column and using the same code below. 我尝试只选择该临时1列,并使用下面的相同代码。 This makes my temp 1 column disappear but leaves a gap between (white space in between) column phase_type column and temp 2 column for evac name group. 这使我的temp 1列消失了,但在evac name组的列phase_type列和temp 2列之间(之间有空白)。 Please help 请帮忙

    =iif(fields!Phase_Type.value = 2,true,false)

http://i.stack.imgur.com/8o0hi.jpg http://i.stack.imgur.com/8o0hi.jpg

如果您有一个适合大多数分组选项的顶级组,则可以使用类似于ColumnVisible = Parameters!FilterGroupLevel.Value <4的方法,并在此处有一个分组方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM