Calculate CAGR% for Moving Annual Total Dynamic formula
I have been trying to find an answer for the CAGR calculation that I need but I wasn't able to find a solution. So I am hoping someone can help me. I used the following video to build by Dynamic CAGR% model but it is not working for what I need.
I want to calculate CAGR for moving 12 months. For example, say the latest data period I have is till April 2022, I want to calculate CAGR using starting year April 2019 or April 2018. How do I make the start year and month to be dynamic based on the end year and month? And then the next following month in May, I want to use May 2022 MAT period.
Do I need a MAT year column in my date table? If so, how do I write M query for that?
Any solution is welcome. Appreciate your help. Thank you.