Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

expression

$
0
0

I have the query to return records along with row number 1,2,3.....

if RowNo <15, i want the row sets to green, if it's between 15 and 25, set to yellow, else, set to red.  Not sure what I have wrong from the expression below but it didn't work for me.  Can you please help?

=IIF(Fields!RowNo.Value<15,"green",
  IIF((Fields!RowNo.Value>=15 and Fields!RowNo.Value<=25,"yellow"),"red"
))


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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