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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to distinct count ID

I have a count if statement in my straight table that I am using to distinct count IDs. it is counting the no of records instead even when I use distinct. any idea?

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

Without seeing a sample, it would be hard to say what might be wrong.

MK_QSL
MVP
MVP

Count(Distinct ID) should give your expected result. If not, please share some sample/dummy data or sample application.

Or provide the Data Model, Dimension or Expression you have used..

Anonymous
Not applicable
Author

The count was not matching because I had a calculated dimension but in the expression, that dimension was not being used. hence when I copied the expression to the caption of the straight table, it was giving me a diff count than the number of record in the straight table.