Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Solved! Go to Solution.
Hi,
Try this
=[2017 DatesMTD]/CALCULATE(SUM(Date[Budget Sales]),ALL(Calender[Week]))
Hope this helps.
Hi,
Try this
=[2017 DatesMTD]/CALCULATE(SUM(Date[Budget Sales]),ALL(Calender[Week]))
Hope this helps.
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]))
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |