Link to home
Start Free TrialLog in
Avatar of tanj1035
tanj1035

asked on

Table Alternating Color error SSRS

Hi Experts,

In my ssrs table, I want to add the alternating background color expression. I tried 2 different expressions, but get the error message.
In my report, there is no parameter setting. Thanks!!

"The BackgroundColor expression for the text box ‘DealerId’ contains an error: [BC30455] Argument not specified for parameter 'TruePart' of 'Public Function IIf(Expression As Boolean, TruePart As Object, FalsePart As Object) As Object'."


The 2 kinds of expression I tried
=iif(RowNumber(Nothing) MOD2, "Silver","White")

=iif(RowNumber(Nothing) MOD2=1, "Silver",nothing)
ASKER CERTIFIED SOLUTION
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tanj1035
tanj1035

ASKER

Thanks!!! It works!  I asked a stupid question .
Far better to ask us suckers for points stupid questions, as we'll cheerfully answer them, then to ask your co-workers and have them wonder why you're asking stupid questions.

Thanks for the grade.  Good luck with your report.  -Jim