如何使用布尔参数更改现有SSRS报告中的背景颜色

发布于 2025-02-06 17:08:10 字数 227 浏览 3 评论 0原文

我在SSRS报告中有一个问题,其中我创建了一个带有true,false的布尔参数,如果我选择true(默认值),则现在为报告:报告将以现有方式工作,例如标题,它将是蓝色的,行将是在白色中,如果我选择false,则行会被隐藏起来,但是现在我只有在选择false时才需要将背景颜色从蓝色更改为白色。

但是,如果我选择参数为true,则应仅在默认情况下以现有颜色为单位,并且背景颜色仅在false中以白色为单位。任何人都可以帮我吗?

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那伤。 2025-02-13 17:08:10

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

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

For the background color property, the parameter could be used in an IIF to choose the color.

=IIF(Parameters!TF.Value, "Blue", "White")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文