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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum within Set Expression

Trying to calculate the Count of IDs where sum of Sales by IDs should be greater or equal to 10,000.

Count({<WeekNum={"<=$(vCurrWeek)"}, Year={$(vCurrYear)}, Aggr(Sum({<WeekNum={"<=$(vCurrWeek)"}, Year={$(vCurrYear)}>} Sales), IDs)={">=10000"}>} IDs))

Labels (1)
1 Solution

Accepted Solutions
Clever_Anjos
Support
Support

Count({<WeekNum={"<=$(vCurrWeek)"}, Year={$(vCurrYear)}, IDs={"=Sum(Sales)>=10000"}>} IDs))

View solution in original post

1 Reply
Clever_Anjos
Support
Support

Count({<WeekNum={"<=$(vCurrWeek)"}, Year={$(vCurrYear)}, IDs={"=Sum(Sales)>=10000"}>} IDs))