Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 .

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

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.