Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sekharapp
Contributor III
Contributor III

Rolling n months

1.what is rolling n months?

2.what is the application of rolling n months?

3.please provide me some examples?

Labels (5)
4 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @sekharapp ,

1. Rolling N month is the number of months trend that users want to analyze. 

Eg. If the user asks to show the 12 rolling month data on a chart then he wants the last 12 months' data from today's date

means Jun 2021 to Jun 2022

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
sekharapp
Contributor III
Contributor III
Author

how to write expression for it

 

abhijitnalekar
Specialist II
Specialist II

=Sum({<MonthYear = {">=$(=Date(MonthStart(Min(MonthYear), -GetSelectedCount(MonthYear)), 'MMM-YYYY'))<=$(=Date(MonthStart(Max(MonthYear), -GetSelectedCount(MonthYear)), 'MMM-YYYY'))"}>}Sales)
Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
vikasmahajan

hi

You can implement https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130

and 

https://community.qlik.com/t5/App-Development/YTD-MTD-QTD-Rolling-3-Rolling-12-months-in-filter-pane...

hope this helps you

Vikas

 

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.