Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
ValeriaBonini
Partner - Creator
Partner - Creator

highlight duplicate values in a table

Hi, I have this table where I would like to make the background red if the Name is duplicated

I tried with if(count( Total <id_utente>{<id_utente=>} nome_utente) > 1 , '#f9ebe9') but it has not worked, with that set analysis it highlight the first "Valeria" and "Caterina"

 

How can I do?

ValeriaBonini_0-1751445840272.png

 

2 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

you are saying that you want to highlight only the second instance when Valeria name is present?

If(count(Total<Name> Name) > 1 and aggr(min(total <Name> ID),Name)<>ID,red())

 

 cheers

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Anil_Babu_Samineni

try this - if(count(Total <nome_utente> nome_utente) > 1 ,Red())

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful