This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello everyone, I need assistance correcting my formula for a 12-month rolling average. I am trying to find out the monthly spending of Amazon and Company Cards (Bento), then find out the monthly average per store. I am summing Amazon and Bento Spend based on status = 'Complete' and not 'Declined' See the following 3 measures:
Solved! Go to Solution.
Thank you, I actually used that site to help try and diagnose my issue but still couldn't figure out my error. My formula appears to be identical with the expectation he uses Variables. Also, my tables with the sales do not have daily sales, that's the only difference I can think of, but in my datesinperiod portion, I am using a continuous date table regardless.
I figured it out, I was trying to make the 12-month moving average a calculated column when it should be a measure. Thank you for helping me navigate this!
Hi @james_pease if possible share your pbi file to try to see details.
Proud to be a Super User!
Hi @james_pease check master link https://www.sqlbi.com/articles/rolling-12-months-average-in-dax/ I hope this help
Proud to be a Super User!
I figured it out, I was trying to make the 12-month moving average a calculated column when it should be a measure. Thank you for helping me navigate this!
Thank you, I actually used that site to help try and diagnose my issue but still couldn't figure out my error. My formula appears to be identical with the expectation he uses Variables. Also, my tables with the sales do not have daily sales, that's the only difference I can think of, but in my datesinperiod portion, I am using a continuous date table regardless.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |