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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum based on count

Hi Experts,

             I am a new one to QlikView. I am trying to understand is the sum value based on count. For Exp; A shop want to know how many customers come to it based on a date. Let me know what functions need to use to get the answers?

Regards,

Kyaw Myo Tun

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Select a data and count the customers: count(distinct customers)

If you want the sum of the counts of each date use something like: sum(aggr(count(distinct customer),date,shop))


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Select a data and count the customers: count(distinct customers)

If you want the sum of the counts of each date use something like: sum(aggr(count(distinct customer),date,shop))


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

            It works correctly. Thanks for your precious help.

Warm Regards,

Kyaw Myo Tun