简体   繁体   中英

How to change the background color in existing ssrs report with Boolean parameter

I have an issue in SSRS report where I have created a boolean parameter with true, false and now for the report if I select True (Default Value): Report will work in the existing way like for headers it will be blue and rows will be in white and if I select False then rows will be hide but now I need to change the background color from blue to white only when I select for false.

However, if I select parameter as True then it should be in default existing color only and the background color need to be change only in False in White. Can anyone help me on this.

对于背景颜色属性,可以在 IIF 中使用该参数来选择颜色。

=IIF(Parameters!TF.Value, "Blue", "White")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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