Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Add condition on group level

$
0
0

I have 3 columns (number, code and comments). I have groups values on 'number' (1001, 1002, 1003). this is requirement. I have code values (IN, OUT). I need to set color condition where  product is IN and number is 'not same'.

I have grouped by 'number' and my condition is not working on background row color. what changes are required.

 MY DATA

NUMBER    CODE      COMMENTS

1001                 IN             N/A

1001                 OUT          N/A

1003                 IN             N/A (apply color on this only)

MY CONDITION

=IIF(Fields!Log_Code.Value="IN" and Fields!Log_Code.Value="OUT", "transparent",
IIF(Fields!Log_Code.Value="OUT", "red",
IIF(Fields!Log_Code.Value="IN", "yellow", "green")
)


Viewing all articles
Browse latest Browse all 1418

Trending Articles



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