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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I count a doc number?

Apologies for any protocol error, this is my first post.

I have a list of document numbers and users, and I want to show the number of documents per user.

I have made a pivot table with users and COUNT(Document Number)

But I have hit a stumbling block, many of the document numbers count as more than one, some of them have hundreds of occurences because of the number of lines in the document.

Is there an easy way to count each document number only once?

1 Solution

Accepted Solutions
jjfabian
Partner - Creator III
Partner - Creator III

Hi Craig,

try COUNT(DISTINCT Document Number)

Regards, Jakob

View solution in original post

2 Replies
jjfabian
Partner - Creator III
Partner - Creator III

Hi Craig,

try COUNT(DISTINCT Document Number)

Regards, Jakob

Not applicable
Author

It works, thank you for your help Jakob.