Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III

Bucket / Ageing Issue

Hi All,

I am not able to achieve ageing for Vendor Analysis. I want to create bucketing on Posting date basis.

Please find the attached QVW  with Expected Output.

In calendar object my date format will change in number when I am selecting any date i want it in DD/MM/YYYY

Thanks

5 Replies
tresesco
MVP

Though I am not really sure if your expected output is correct or not w.r.t the sample data, try correcting the number format for calendar display and correcting variable vMinDate to VMinDate to make it work. PFA.

prma7799
Master III
Author

After correction same values are there I want output as attached excel ...

prma7799
Master III
Author

If you look below in excel you will get bucketing Total that are not matching with your attached qvw

PrashantSangle

Hi,

try below expression

for 0 to 60 days bucket

=sum({<Posting_Num={">=$(=(vMaxDate-60))<=$(vMaxDate)"}>}Amount)

for 60 to 120 days bucket

=sum({<Posting_Num={">=$(=(vMaxDate-120))<$(=(vMaxDate-60))"}>}Amount)

for >120 days bucket

=sum({<Posting_Num={"<$(=(vMaxDate-120))"}>}Amount)

Regards,

Prashant Sangle

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anil_Babu_Samineni

Can you provide Excel Formulas as well

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful