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: 
Not applicable

Count Distinct Qlik Sense

Dear All,

I sure it is trivial for an advanced user. However, I dont manage to use the count distinct formula correctly.

I type: Count(distinct[Invoice Nr.])

I only get "-" as an answer, although I have several hounderts of invoice numbers.

What am I doing wrong?

Thanks much in advance.

3 Replies
Not applicable
Author

count( distinct [Invoice Nr.])

The space is important, though the reason for this I do not know.

Regards,

Michael

MK_QSL
MVP
MVP

It's a case sensitive also...

check you have exact same name and spaces..

[Invoice Nr.]

Chanty4u
MVP
MVP

exp is  ok

= Count(distinct [Invoice Nr.])


share sample app