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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
wollensack
Frequent Visitor

Highlight Fields when duplicate value found in table

Hello All,

I have a power Bi Table visual, I want to highlight any records in the field "Impacted Code" which has a value duplicated.
I tried to create a measure and link it using "Conditional Formatting" but unfortunately it failed. Hope someone can assist me.
Table = "Faults"

CustomerIDImpacted CodeStatusAge in DaysOpenedResolvedSLA Met
Happy LolliesBI461BI461Closed314/03/202316/03/2023NO SLA
Happy LolliesBI479BI479Resolved230/03/202331/03/2023NO SLA
Happy LolliesBI372BI372Closed56/03/202310/03/2023NO SLA
Happy LolliesBI338BI372Pending1830/03/2023 NO SLA
Happy LolliesBI263BI338Resolved527/03/202331/03/2023SLA Met
Happy LolliesBI729BI263Resolved21/03/20232/03/2023SLA Met
Happy LolliesBI483BI263Pending3414/03/2023 NO SLA
Happy LolliesBI207BI207Pending2028/03/2023 NO SLA
Happy LolliesBI818BI818In Progress471/03/2023 SLA Missed
Happy LolliesBI839BI355Closed16/03/20236/03/2023NO SLA
Happy LolliesBI272BI355Closed28/03/20239/03/2023NO SLA
Happy LolliesBI355BI355Closed115/03/202315/03/2023SLA Met
Happy LolliesBI526BI526Closed109/03/202318/03/2023SLA Met
Happy LolliesBI379BI379Closed115/03/202315/03/2023SLA Met

 

Frank Wollensack

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

you can set up a calculated column:

 

Column =
var _distinct = 'Table (3)'[test]
return

CALCULATE(
    COUNTROWS('Table (3)'),ALL('Table (3)'),
    'Table (3)'[test] = _distinct
)
 
then apply that to conditional formatting:

 

DOLEARY85_0-1681802943168.png

DOLEARY85_1-1681802988428.png

 

hope this helps

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

3 REPLIES 3
wollensack
Frequent Visitor

thankyou all for the help , sadly only could accept one solution 

Ahmedx
Super User
Super User

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26RhzIi2n_Qrzo9MOHs?e=TlFIEO

Screen Capture #901.pngScreen Capture #902.pngScreen Capture #903.png

DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

you can set up a calculated column:

 

Column =
var _distinct = 'Table (3)'[test]
return

CALCULATE(
    COUNTROWS('Table (3)'),ALL('Table (3)'),
    'Table (3)'[test] = _distinct
)
 
then apply that to conditional formatting:

 

DOLEARY85_0-1681802943168.png

DOLEARY85_1-1681802988428.png

 

hope this helps

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors