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: 
cbaqir
Specialist II
Specialist II

Set Analysis and AGGR

Any idea why this works just fine: =Sum({$<TASK_NAME={'PTO'}>} ACT_HRS)/sum( aggr(max(MONTH_CAP),FISCAL_MONTH_YEAR))

But this doesn't?=Sum({$<TASK_NAME-={'PTO'}>}ACT_HRS)/sum( aggr(max(MONTH_CAP),FISCAL_MONTH_YEAR))

The only difference is the inclusion/exclusion of the PTO task (= vs -=)

11 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I think the problem is the granularity of the dimensions, although I haven't been able to sort out a solution. The calculated Dim against TRX_Date produces two different aggregations of MONTH-CAP/ I don't see the problem if you use FISCAL_MONTH_YEAR as the Dim.

cbaqir
Specialist II
Specialist II
Author

I am adding the expression within the Expressions tab in the chart. You are right that I also get a value in a text box. I think I was missing the FLAG dimension in the expression,