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

Why do I get an error while finding the following Distinct Count ?

I am using this expression to find the distinct count :

" count(distinct[Invoice Number]) "

Where Invoice Number is the Field Name .

Help Me out .

Labels (1)
1 Solution

Accepted Solutions
arasantorule
Creator III
Creator III

Please use count(distinct([Invoice Number]))

bracket after distinct

Thanks

View solution in original post

6 Replies
arasantorule
Creator III
Creator III

Please use count(distinct([Invoice Number]))

bracket after distinct

Thanks

simospa
Partner - Specialist
Partner - Specialist

Hi,

in first, look at the space between distinct and [

count(distinct [Invoice Number])


Then ensure that [Invoice Number] really have I and N uppercase.


Let us know.

S.

simospa
Partner - Specialist
Partner - Specialist

Ankit: I see you are a Novice.

I remember you to mark correct an answer if it provide you a solution to your issue.

Thanks

S.

Kushal_Chawda
MVP
MVP

Try,


count(distinct [Invoice Number])

Not applicable
Author

Thanks a Lot This worked

simospa
Partner - Specialist
Partner - Specialist

Then mark as "correct answer" the answer. It might help others in the future 🙂

S.