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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bhaveshp90
Creator III
Creator III

Set Analysis for selecting previous year's December data as base value for all the months?

Hello,

I want to select December month data of previous year as the baseline value for all the months for As Sold Dec (Updated OEC) as shown in the below image

1.PNG

But this expression is not working as shown in the image below (Snapshot_Date format like 2018-08-31, 2018-09-30, etc)

=Sum({<Month={"$(=max(Snapshot_Date)'}Snapshot_Date(MonthEnd(Max(Snapshot_Date), -1),'MMM-YY'))"}>}As_Sold)


1.PNG

What wrong am I doing here? Any help is greatly appreciated

thanks

Bhavesh

10 Replies
bhaveshp90
Creator III
Creator III
Author

thank you neelamsaroha1575‌. This expression is working for this table So I am closing this thread. Can you please look into this Expression for getting December month value for previous Year?