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

Required Dynamic MAT Calculation for Last 13 months Data

Required Dynamic MAT Calculation for Last 13 months Data

 

Hi , I have a data set with of 3 fields i.e Period, Country & Values. We need a 12 month Rollup values in a chart or table. But We required rollup by Month Year wise for the last 13 months. It means last 13 Months (Prior month values aggregation) roll-up data for each period. Suppose Current Month is May 2019. So we required a report in which Period should appear from May-2018 till May-2019 and values should be aggregated for the last 12 months for each of the periods. I have attached an excel sheet with data & required result. Looking forward to your response.

Thanks

Rishi

Labels (1)
4 Replies
jwjackso
Specialist III
Specialist III

Check out this As-Of date.  This in combination with a calendar simplifies rolling date calculations.

Vegar
MVP
MVP

@rishikeshtiwari your attached excel is missing.

I agree with @jwjackso that an as-of table could be worth looking into.

This post by @Gysbert_Wassenaar could also be an interesting read. https://community.qlik.com/t5/QlikView-Documents/Calculating-rolling-n-period-totals-averages-or-oth...
Sue_Macaluso
Community Manager
Community Manager

@rishikeshtiwari Are you using QlikView or Sense? I want to move this into the correct product forum

Sue Macaluso
rishikeshtiwari
Creator
Creator
Author

I am using Qlik Sense as a visualizations tool.