Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi All,
I have a rolling sales column in my data set that adjust based on the selected rolling value, R3M, R6M, MAT.
However, the growth measure doesn't seem to add up. Here is the table for R3M sales & Monthly Volumes.
Year | Month | Growth | All_Sales Rolling 3M Average | All_Sales |
2023 | January | 202470 | 202470 | |
2023 | February | 215690 | 228910 | |
2023 | March | 27.96% | 230155 | 259085 |
2023 | April | -4.39% | 235618 | 218860 |
2023 | May | 4.69% | 249727 | 271235 |
2023 | June | 28.41% | 257043 | 281035 |
2023 | July | -5.53% | 269503 | 256240 |
2023 | August | -13.59% | 260043 | 242855 |
2023 | September | -9.09% | 244012 | 232940 |
2023 | October | -5.28% | 235273 | 230025 |
2023 | November | 4.90% | 235773 | 244355 |
2023 | December | 6.07% | 239455 | 243985 |
2024 | January | -11.71% | 234692 | 215735 |
2024 | February | 2.30% | 236442 | 249605 |
2024 | March | 11.50% | 235293 | 240540 |
2024 | April | 2.49% | 248658 | 255830 |
2024 | May | -10.65% | 237097 | 214920 |
This is the code for the rolling average all_sales column:
Hi @RD_PowerBI24 ,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information and description to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Hi Xiaoxin Sheng, It didn't as I had already a calendar and date dimensions setup. I found another solution which helped specific to my situation.
As a best practice, add a date dimension in your model and use it for time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools. Check the related videos on my YT channel
Add Date Dimension
Importance of Date Dimension
Mark date dimension as a date table - why and how?
Time Intelligence Playlist
Replace all the date column in your measures to date column from the date dimension and then test it.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |