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: 
andrewc
Contributor II
Contributor II

Qlik Table Distinct Total Percentage

I am sorry, this should be basic stuff!

Looking at the below I am wanting to create a new column [TOTAL WORKLOAD] / [DISTINCT OPERATORS] 

andrewc_0-1634023599541.png

Formula's for each below:

[DISTINCT OPERATORS] = count(distinct OPERATORID)

[TOTAL WORKLOAD] = sum(WORKLOAD)

 

I was hoping this would work, but nup ...

sum(WORKLOAD) / count(TOTAL <DATE> distinct OPERATORID)

 

The first result should be ~5,955

Thanks!

1 Solution

Accepted Solutions
Or
MVP
MVP

Why not just sum(WORKLOAD) / count(distinct OPERATORID) ?

View solution in original post

3 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @andrewc ,

 

Please try

Column(1)-Column(2)

1 and 2 would be your column position in the table.

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
Or
MVP
MVP

Why not just sum(WORKLOAD) / count(distinct OPERATORID) ?

andrewc
Contributor II
Contributor II
Author

Uuurgh! I should have started with simple! Thanks Or!