Alternating row color expression in SSRS matrix not working correctly
问题 In the only row group I am trying to get a alternate row color with the following expression: Expression for background color : =IIf( RunningValue (Fields!SP.Value, CountDistinct, Nothing) MOD 2, "White", "blue") SQL code: select ROW_NUMBER() OVER (ORDER BY DataDate) AS SSRSRowNumber ,datepart(dw,datadate) SSRSDateFilter ,DataDate ,SP ,sum(TMI) as TotalCI from table where DataDate>GETDATE()-20 group by DataDate,SP order by 1, 2 The result is the picture below, what's wrong in the expression