Forum Discussion
Anonymous
5 years agoNot applicable
Highlighting duplicated values in table visual in Power BI
Hi everyone, I'm having problem with using the conditional formatting to highlight the duplicated values in my table visual. My data looks like this To create the conditional formatting, ...
- 5 years agoRowcount : =IF (COUNTROWS (CALCULATETABLE ('Table',ALLSELECTED ( 'Table' ),VALUES ( 'Table'[Customer] ))) = 1,0,1)
Jihwan_Kim
Super User
5 years ago
Rowcount : =
IF (
COUNTROWS (
CALCULATETABLE (
'Table',
ALLSELECTED ( 'Table' ),
VALUES ( 'Table'[Customer] )
)
) = 1,
0,
1
)
- Anonymous5 years agoNot applicable
I would like to thank you a lot for your answer.
By the way, is it possible to make it highlight the duplicates of different customers with different colors? For example, the duplicates of A will be blue, and the duplicates of B will be pink.- Jihwan_Kim5 years ago
Super User
Rowcount ColorCondition : =IF (COUNTROWS (CALCULATETABLE ('Table',ALLSELECTED ( 'Table' ),VALUES ( 'Table'[Customer] ))) > 1,SELECTEDVALUE(Customers[Color]))- Anonymous5 years agoNot applicable
Jihwan_Kim
Do we have a method that we don't have to create another column to assign color for each customer? Can we just use some randomized colors that are different?
- AlessiaZak2 years agoRegular Visitor
Hi, is there a way to filter out empty rows?