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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Weekly Sales as Percentage of Corresponding Month Budget Total

Hello Everyone,

 

I need your expert advise. What would be the DAX formula to calculate weekly sales (cumulative) percentage of the corresponding month budget? 

 

I was able to use DATESMTD function to calculate cumulative weekly sales by month (see below). I have no idea how to calculate what percentage of monthly budget sales those cumulative numbers are. Please refer to the picture below if my explanation is not clear.

 

Thank you all in advance.

Alex

 

Weekly Sales as Percent of Corresponding Month.JPG

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

Try this

 

=[2017 DatesMTD]/CALCULATE(SUM(Date[Budget Sales]),ALL(Calender[Week]))

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Try this

 

=[2017 DatesMTD]/CALCULATE(SUM(Date[Budget Sales]),ALL(Calender[Week]))

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thank you, Ashish_Mathur,

 

I was able to figure this out on my own and planned to post the solution. ALL(Calendar[Week]) was a missing piece in this puzzle.

 

In my case the formula happened to be:

 

=[2017 DatesMTD] / CALCULATE(SUM(Budget[Amount]), ALL(Calendar[Week]))

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.