Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello, I have a table with the demand per month:
I want to calculate the moving average but with weighted average like below:
Forecasted_demand=(M1*1+M2*2+M3*3)/6
(M1: 3 months ago, M2: 2 months ago, M3: previous month)
Could you help to write the DAX measure to get it?
Thank you in advance!
Kind regards,
Silvia
Solved! Go to Solution.
Hello @Silvia_Gulu_BXL
output :
kindly use the following measure :
let me know if this works for you .
If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠
Hello @Silvia_Gulu_BXL
output :
kindly use the following measure :
let me know if this works for you .
If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |