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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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