Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

greend21
Contributor II

Set Analysis to show range of dates until others are selected

Hi,

I created a flag field to indicate which rows are for the last 5 days of data (CEDateFlag = {1}). Is there a way to have this or something similar UNTIL other dates are selected from a list? At that point I would like it to show the selected dates until the selections are cleared.

IF([Amount/Count] = 'Count', Num(Sum($(vCollEff)CE0_30Cnt)/1000,'###K;(###K)'), Num(Sum($(vCollEff)CE0_30Amt)/1000000, '$###M;($###M)'))

Where $(vCollEff) = {$<CEDateFlag = {1},ReceiptType=,ReceiptStatus>}

Tags (1)
2 Replies
sasiparupudi1
Honored Contributor III

Re: Set Analysis to show range of dates until others are selected

may be use a If Condition if(GetSelectedCount(MyDate)>0,Num(Sum(CE0_30Cnt)/1000,'###K;(###K)')

,Num(Sum($(vCollEff)CE0_30Cnt)/1000,'###K;(###K)'))


hth

Sas

greend21
Contributor II

Re: Set Analysis to show range of dates until others are selected

This may work, but it would require me to used nested if statements since my current expression uses one to determine if the chart should show counts or $ amounts.

Community Browser