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

Get Fabric certified for FREE! Don't miss your chance! 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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.