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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ABP2021
Contributor II
Contributor II

Ignore a Filter Selection in a Aggr Function with Set Analysis

Hello,

Can we bypass same field which we are using in aggregate function.  I wanted to ignore HQ filter while calculating Contribution, Please check my expression

=Sum(total {<HQ=>}
Aggr(
(($(vAch_MQY_PCPM)
/ Count(distinct {<[Division Name]={"$(vDivisionSelection)"},HQ=, I_Date={">=$(vCurrentYearStart)<=$(vCurrentDate)"}, CalendarYear=,T_Month, Period_INL=>} [MR Name]) )
/ $(vPCPM_Month)
)

 

Here, 

$(vAch_MQY_PCPM)=

 Num(Sum({< DataType={'Value_Ach'}, I_Date={">=$(vCurrentYearStart)<=$(vCurrentDate)"},HQ=,, [Division Name]={"$(vDivisionSelection)"},CalendarYear,T_Month>}Data), $(vCurrancy))

 

0 Replies