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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

counts and distinct counts

Hello,

I have a group of analysts and want to see how many times they have mentored on a list of cases this year.  I want to build a table that shows their name, the number of cases they provided mentoring and lastly the number of times they mentored on each case.  Something like this:

AnalystCasesTouches
Bob Brown2657

The field names are:

NOTE_NAME and CASE_ID

thanks for any help provided!

5 Replies
vishsaggi
Champion III
Champion III

What are the expression you are using here? Did not Count(Case_ID) and Count(DISTINCT Case_ID) worked? Can you provide some sample data and expected output if possible. ?

vinieme12
Champion III
Champion III

dimesion

Analyst Name

Expressions

Cases: Count(Distinct NOTE_NAME)

Touches: Count(CaseID)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

I tried these two expressions and ended with the same values:

Ment1.PNG

vinieme12
Champion III
Champion III

It'll be easier to assist if you post some sample data

Preparing examples for Upload - Reduction and Data Scrambling

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

or maybe they actually mentored each case only once

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.