Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Moving average Value in weeks

Hi PBI, After reading countless suggestions from the web, I am unable to resolve a "weekly moving average" calculation. In the screen shot, I have the weekly Orders. I am trying to calculate the moving 3 weeks average. The formula i created (Red section) is wrong.

My data has total Orders at the end of each week - in this case Sunday. I am scratching the scalp off my head.. Thanks in advancepbi.png

1 ACCEPTED SOLUTION

Cool my dear friend ,pls close the ticket 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Baskar  Can you please let me know the DAX function I am also having requirement. Output of the rolling average should start from wk4.

Thanks in advance. 

Baskar
Resident Rockstar
Resident Rockstar

Cool , try this it will help u .

 

if not let me know i will help u my dear friend .

1.JPG

 

 

 

 

Anonymous
Not applicable

hi Baskar, it didnt quite worked out but looking at your idea, I understand the concept a LOT LOT better and applied to another apporach using DATESBETWEEN- which worked! I would not have come to this without your help.. Thank you.. Case close ...for now pbi.png

Cool my dear friend ,pls close the ticket 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.