Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrew_B
Contributor II
Contributor II

Totals by Customer in Straight table

Hi there
we are looking to determine the total stops (or group of deliveries), by a customer
 
this will be represented in a straight table
 
Fields are
dimensions  - CustomerID, StopDateId, DeliveryWeekday
 
Below are the columns and the formulas we were able to figure out
Customer ID    - dimension
DeliveryWeekday   - dimension 
Count of Stops for each weekday ( aggr(count( StopDateID), CustomerID,DeliveryWeekday))  - which is giving the same total 
 
the challenge is
Total count of stops by Customer
We attempted =sum ( aggr(count(  StopDateID), CustomerID)), however, this will only give us a value on 1 of the Delivery days
 
our goal is to have the total count on each delivery day
 
below is an image of the table  
 
Test total.jpg
 
 
 
 
Appreciate the help
1 Solution

Accepted Solutions
Lisa_P
Employee
Employee

Add in the NoDistinct qualifier before the Count

View solution in original post

2 Replies
Lisa_P
Employee
Employee

Add in the NoDistinct qualifier before the Count

Andrew_B
Contributor II
Contributor II
Author

Appreciate this

its perfect

Thanks for your help