In the below screen shot I have built a report using a matrix. I have a working expression that changes the color of the columns "Avg Wait AD" and Avg Wait Other". I use static numbers to identify the ranges for the colors. Now I need a expression that can change the color of the "Consolidated" row. The consolidated column is just a Total row (Or a calculated row) that I've added. The problem I'm having is that in each day, I can have between 1-3 items (Consolidated is not considered an item). I'm stuggling with getting the amount of items there are in the day so I can use that in my calculation. My expression would look something like
=IIF(Sum(Fields!Avg_Wait_Time___AD.Value) >= (CurrentItemsInDay * 60), "Red", IIF(Fields!Avg_Wait_Time___AD.Value < (CurrentItemsInDay * 60) AND Fields!Avg_Wait_Time___AD.Value >= (CurrentItemsInDay * 28), "Orange", "Green"))
(I'm just using CurrentItemsInDay for illustration purposes)