Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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.