September 3, 2020 at 3:35 pm
Hi Folks:
We have SSRS report (2016) with 2 columns Qty1 and Qty2 and want the record colored (red) If the Qty1 and Qty2 are matching. The Qty2 column has records in 5 decimal places and we want to round off to 3 decimal when comparing the values. I need help with formula.
In the above example the highlighted in red are matching.
Thanks!
September 3, 2020 at 3:52 pm
September 3, 2020 at 3:58 pm
=IIf(Round(Fields!Qty1.Value,3) = Round(Fields!Qty2.Value,3),"Red","Black")
September 3, 2020 at 6:08 pm
I tried =IIf(Round(Fields!Qty1.Value,3) = Round(Fields!Qty2.Value,3),"Red","Black") and it is not working. Could it be because we have some NULL values?
September 3, 2020 at 9:19 pm
I tried =IIf(Round(Fields!Qty1.Value,3) = Round(Fields!Qty2.Value,3),"Red","Black") and it is not working. Could it be because we have some NULL values?
What does "not working" mean?
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply