Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
inglexjc
Post Patron
Post Patron

Color code duplicate numbers

Is there a way to color code when a Client ID is showing up more than once in the data?

 

Example

Client NameClient IDCAS_IDAGERemoval Date
Doe, Jane274178131/20/2022
Doe, Jane2741781311/13/2020
Smith, K31517781/17/2023
Smith, K31517787/14/2023
Doe, John28217701162/13/2023
Doe, John28217701165/1/2014
Non, Duplicate5742541410/27/2015

 

So have the Client ID be RED if it's showing in the report more than once.

1 ACCEPTED SOLUTION
NaveenGandhi
Memorable Member
Memorable Member

Hi

 

Below dax should do the job, Add conditional formatting over client id.

Color code =

VAR Check = CALCULATE(count('Table'[Client ID]),ALLEXCEPT('Table','Table'[Client Name]))

RETURN if(Check>1,"RED","")
Screenshot 2024-06-27 203427.png
 
 If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

View solution in original post

1 REPLY 1
NaveenGandhi
Memorable Member
Memorable Member

Hi

 

Below dax should do the job, Add conditional formatting over client id.

Color code =

VAR Check = CALCULATE(count('Table'[Client ID]),ALLEXCEPT('Table','Table'[Client Name]))

RETURN if(Check>1,"RED","")
Screenshot 2024-06-27 203427.png
 
 If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.