Discussion board where members can learn more about Qlik Sense App Development and Usage.
Hi All,
I have created one stacked bar chart in qlik sense. It is working fine when the Date is selected but when there is no selection,the chart became calcluation timed out after sometime
Dimensions - Id and Source
Expression - if(GetSelectedCount(Period)=0,
Count({<DispenseDateKey_Monthname={'$(=$(vCurrMonth))'}>}Source),
Count({<DispenseDateKey = {">=$(=(min(Period)))<=$(=(max(Period)))"}>}Source)
)
Can anyone help me optimize the expression to fix this calculation timed out issue?
I feel always, set analysis is good option, But this way
Count(If(DispenseDateKey_Monthname='$(vCurrMonth)', Source))
How many aggregated rows are available for each object using this?
Count({<DispenseDateKey_Monthname={'$(=$(vCurrMonth))'}>}Source)
There are 237.4k aggregated rows for this expression
Thank you
I feel always, set analysis is good option, But this way
Count(If(DispenseDateKey_Monthname='$(vCurrMonth)', Source))
what is the expression in vCurrMonth? How values in DispenseDateKey_Monthname looks like?