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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to implement trieif in this case

Dear Friends,

i have one column named ITEM having values 10,20,30,..
Help me to write expression in chart which will tell me
trieif values are not repeated and false if values are repeated..example..
If ITEM contains 10,20,20,30 on selection....so inthis case it would be false as 20 is repeating..

Thanks in advance friends

Labels (1)
1 Reply
swuehl
Champion III
Champion III

Hi Kamalnaithani,

you could compare count (ITEM) with count(distinct ITEM) to get what you want, I think.

if(count(ITEM) > count(distinct ITEM), 'false', 'true')

Regards,

Stefan