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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Omit Duplicate records from the count.

Hi Qlikview Developers,


I have a data set which contains a lot of duplicates, I want to eliminate the following IDs (in red) where the Status is Complete. (the metric is to count Register or In Progress status, but the data also duplicate ID with different status, if they are complete, those ID shouldn't be count.). Please advise.

IDStatus
YC08840Registered
YC08840Completed
ZC74099Completed
ZC74099In Progress
AA31556In Progress
AA36012In Progress
AC13687Registered
AC24267In Progress
AF88896In Progress
AG12218In Progress
AG48265In Progress
AG51567In Progress
AH00447In Progress

Please advise.

Thanks,

Jasmine

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try count({<ID=e({<Status={Completed}>}ID)>}distinct ID)


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try count({<ID=e({<Status={Completed}>}ID)>}distinct ID)


talk is cheap, supply exceeds demand
Not applicable
Author

It works! Thank you so much for your quick response.

Jasmine