简体   繁体   中英

Count of Rows colored in SSRS Report Builder

I am trying to calculate the Count rows of particular colored Rows.For example

The background colors are coming from an Expression which is a condition based

So I am trying count how many are green color and How many are red color from the data

Location Amount

Usa 100---Green color Background

UK 200--Red Color Background

India 3000---Green color background


Total Green Rows --- 2


Looking for help

Thanks

You can use SUM with the same conditions combined with an Iif expression returning 1 when your expression is true.

Your expression will look like the one below

=Sum( Iif( condition for green rows, 1, 0) )

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