Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
selvakumarsr
Creator
Creator

Aggregate based on dimensions

Hi All,

Is there an way to sum based on dimension.

For example (Data Source):

     

DateEmployeePurchaseOrderVendorDays
1-Jan-17Emp1P0001V00011
1-Jan-17Emp1P0002V00011
1-Jan-17Emp1P0002V00021

If it vendor,date and employee is same then the days count is 1 in my output

Expected Output:

     

     

DateEmployeePurchaseOrderVendorTotal Days
1-Jan-17Emp1P0001V00011
1-Jan-17Emp1P0002V0001
1-Jan-17Emp1P0002V00021

Thanks,

Selva

1 Solution

Accepted Solutions
sunny_talwar

May be this:


Aggr(Count(DISTINCT Date&Vendor&Employee), Date, Vendor, Employee)


Capture.PNG

View solution in original post

1 Reply
sunny_talwar

May be this:


Aggr(Count(DISTINCT Date&Vendor&Employee), Date, Vendor, Employee)


Capture.PNG