Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

gulshan_rohilla
New Contributor

Dynamic bucketing in Qlik Sense

Hi Guys,

I want the below report in Qlik Sense. Can anyone please help me in this

bucket1.PNG

I have done this

bucket2.PNG

but as i want the bucket like above. how can i do this. My expression for bucket is :-

=IF(GETSELECTEDCOUNT(MonthName)=0,DUAL(REPLACE(CLASS($(vToday)-[Link Date],30),'<= x <','-'),CLASS($(vToday)-[Link Date],30)),

DUAL(REPLACE(CLASS(vMaxDate-[Link Date],30),'<= x <','-'),CLASS(vMaxDate-[Link Date],30)))

can anyone help me to achieve the above report.

Thanks

Tags (1)
8 Replies
gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

Also I have used class function as user wants dynamic bucketing on the selection of Month

Re: Dynamic bucketing in Qlik Sense

Perhaps this?

=IF(GETSELECTEDCOUNT(MonthName)=0,DUAL('AR Aging ' & REPLACE(CLASS($(vToday)-[Link Date],30) & ' Amount','<= x <','-'),CLASS($(vToday)-[Link Date],30)), DUAL('AR Aging ' & REPLACE(CLASS(vMaxDate-[Link Date],30) & ' Amount','<= x <','-'),CLASS(vMaxDate-[Link Date],30)))

gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

Hi Anil,

Thanks for your reply.

But i am talking about the Bucket limits like what i want is :-

1-30,31-60,61-90...so on (Both upper and lower limits included)

till now i have done is

0-30,30-60,60-90..so on (only upper limit is included)

Re: Dynamic bucketing in Qlik Sense

I suggest you to work on If..Else condition ??

gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

I've tried it but didn't work

gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

is it possible to make unequal buckets on frontend using class functions...?

gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

Kindly reply as I need it on urgent basis.

gulshan_rohilla
New Contributor

Re: Dynamic bucketing in Qlik Sense

Kindly reply as I need it on urgent basis