Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
villegasi03
Creator
Creator

Sum / Aggregate Only providing first value

Looking for some assistance with a similar post regarding sum product. I have had a similar problem as the post below but I have an additional dimension as he does not.

http://community.qlik.com/message/300618#300618

I am getting this Using (SUM(AGGR(SUM(Workload), Employeeid)) 😞

EmployeeWorkgroupAnsweredHandle TimeWG WorkloadGlobal Workload
Employee, OneWorkgroup11733746470281,679
Employee, OneWorkgroup2153144710
Employee, OneWorkgroup34726112267
Employee, Two Workgroup114028640040122,210
Employee, Two Workgroup26193156791
Employee, Two Workgroup31763710829
Employee, Two Workgroup45029114550
Employee, ThreeWorkgroup18465372014,340
Employee, ThreeWorkgroup2243207680
Employee, ThreeWorkgroup363181908
Employee, ThreeWorkgroup433441032

Woud like to get this:

EmployeeWorkgroupAnsweredHandle TimeWG WorkloadGlobal Workload
Employee, OneWorkgroup11733746470281,679
Employee, OneWorkgroup215314471081,679
Employee, OneWorkgroup3472611226781,679
Employee, Two Workgroup114028640040122,210
Employee, Two Workgroup26193156791122,225
Employee, Two Workgroup31763710829122,225
Employee, Two Workgroup45029114550122,225
Employee, ThreeWorkgroup18465372014,340
Employee, ThreeWorkgroup224320768014,340
Employee, ThreeWorkgroup36318190814,340
Employee, ThreeWorkgroup43344103214,340
1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

=sum(total<Employeeid> Workload)

View solution in original post

5 Replies
Not applicable

Attached with answer. I did a back-end calculation.

Thanks

AJ

swuehl
MVP
MVP

Try

=sum(total<Employeeid> Workload)

villegasi03
Creator
Creator
Author

IT WORKED THANK YOU SOOOOO MUCH

srchilukoori
Specialist
Specialist

AGGR will evaluate one value in this situation.

A workaround is to use Sum(total <Employee ID> [WG Workload])

maxgro
MVP
MVP

perhaps this?

SUM(TOTAL <Employee> AGGR(SUM([WG Workload]), Employee))

2.png