Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

Change color of row based on a srting value

$
0
0

Hello,

I am trying to change the color for the entire row based on a column in my report that displays either Y or N, I have tried

=IIF(Fields!XXXX.Value = "Y", "Green", "Black") -- does not work

=IIF(Fields!XXXX.Value = "Y", "Green", Iif(Fields!XXXX.Value = "N", "Amber", "Red")) --- changes the background color to red for that column no matter if Y or N

also tried using Switch instead of IIF.

I am new to SSRS, I am trying to solve this with an expression because I not familiar with how to do a custom code.

Thanks



Viewing all articles
Browse latest Browse all 28687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>