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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - calculate data from the past

Hello,

I want to calculate data from a moment in the past with a formula and set analysis, but it does not work like this

=Sum({<Year_Month={"=$(=MonthName(AddMonths(Year_Month,-3)))"}>}FC_KG)

Year_Month  has format 'mon YY', such as Apr 2017

Thanks for you answer

Kind regards

Labels (1)
10 Replies
sonysree88
Creator II
Creator II

Sorry above calculation is for current date selections ,

Please use this :

=SUM({<Year_Month = {"$(=Date(AddMonths(Max(Year_Month),-3),'MMM YYYY'))"}>}FC_KG)

Regards,

Sunitha