Link to home
Start Free TrialLog in
Avatar of LP_Tech
LP_Tech

asked on

How can I identify all non distinct values in a SSRS report?

I am trying to identify all non distinct customer id's in a SSRS report by changing the back ground color. The code below only identifies the 1st non unique customer number the first time it is repeated.
=iif(CountDistinct (Fields!custid.Value) <>1,"transparent","RED")

Open in new window

Avatar of Hwkranger
Hwkranger
Flag of United States of America image

Check the scope of what you're doing.  Are the customers in the same scope that you're doing the count distinct in?
Avatar of LP_Tech
LP_Tech

ASKER

There are two row groups. Is this part of the problem?
ASKER CERTIFIED SOLUTION
Avatar of Chris Luttrell
Chris Luttrell
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 LP_Tech

ASKER

In this case Group one is Product, Group two is Sales Person and then I have my custid field is there any way to identify the duplicate custid's by changing the background color?