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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis with Addmonths

Hi All,

I want below expression in set analysis

=Sum(if(YearMonth>=Addmonths(CommonMonth,-2) and YearMonth<=Addmonths(CommonMonth,0),Sales))

Pls find the Sample app attached for reference.

Thanks in advance,

Regards,

Bhaskar

11 Replies
martin59
Specialist II
Specialist II

Sorry I didn't see you document.

Look at the attachment, you can use the cumulative option.

Capture.PNG

Hope that helps you

Martin

rmuhammad
Creator
Creator

please mark the correct answer so it helps others.