SSRS 2008中的动态背景颜色格式

时间:2014-12-04 08:00:04

标签: reporting-services report

我目前正在制作一个报告,其中列是动态的。现在我的老板想在桌面标题上有一个模式,如下所示。

color pattern

但我的专栏是动态的。我试过使用= RowNumber(无)mod 7 = n,但我从来没有得到正确的组合。请帮忙。提前致谢

enter image description here

1 个答案:

答案 0 :(得分:1)

如果要根据其计数显示列颜色,并且您正在进行列分组,则

 = IIF (CountDistinct(Fields!FieldUsedAsColumnGrouping.Value,"DatasetName") Mod 7 = 0,"grey color","some other color")

希望这会有所帮助。如果有问题评论。

相关问题