Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

show duplicate records

Hi,

I have this straight table in QV, but I need it to show only the employees with duplicate emp num, in this case only both the rows of emp num 12, I tried using conditional enable but it doesn't work. please advise

Thanks

   

empnumnameemp numemp name
11john smith11john smith
12lynne12lynne
12sunny12sunny
22mike pepper22mike pepper
16 Replies
Not applicable
Author

Hi Vikas,

  Can you can tell,Where I have to write this '= Sum(Aggr(If(Count(emp num)>1,1,0),empnumname,emp name))'

expression, in Straight Table.



Regards,

Sreenadha P

Kushal_Chawda

In your case it is not relevant as expression will do the job

Anonymous
Not applicable
Author

oh ok I was going the other way round, I used the expression as simple count(emp num) and then thought of only doing conditional enable for duplicate records

Kushal_Chawda

Either way you need to write the expression , so why to complicate the things, just use single expression that's it

Anonymous
Not applicable
Author

thank you all

Kushal_Chawda

Please mark the correct and helpful answers to help other if they came across same problem

florentina_doga
Partner - Creator III
Partner - Creator III

try this expression in chart

if(Count(empnum)<>1,empnum &' - '& Count(empnum))