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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
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.