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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jas2728
Frequent Visitor

Calculating and allocating budget monthly

Hello community, I am attempting to calculate budget which is given on a yearly plan against the sales month wise.
                                                                                                                            Expected Result:

 

Capture3.PNG  Budget table                                                                                                       
Capture1.PNG

 

 

Is there a way to allocate the budget,  from date range to each of the monthly figures on actual sales?

Sales Table

 

Capture2.PNG 

 

 

 

 

 

 

 

 

 Thanks!!

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi there

 

Please find below what I did


I created a relationship between the tables using the Customer

 

image.png

 

I then created the following measure:

New Buget = 
DIVIDE ( SUM ( Budget[Budget] ), SUM ( Budget[Months] ) )

I then created the following table below where i used the date from the Sales Table

 

image.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @jas2728

Does their suggestion really help you?

If it helps you, could you kindly accept it as a solution, if not, feel free to ask me.

 

Best Regards

Maggie

Ashish_Mathur
Super User
Super User

Hi,

 

Download my PBI file from here.


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

Hi there

 

Please find below what I did


I created a relationship between the tables using the Customer

 

image.png

 

I then created the following measure:

New Buget = 
DIVIDE ( SUM ( Budget[Budget] ), SUM ( Budget[Months] ) )

I then created the following table below where i used the date from the Sales Table

 

image.png

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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