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

Pro Rata Formula

Hello,

 

I have data that show the actual sales and the budget for each month. Each line is the data is for the full month, not indivudal days.

 

I am ususing a gauge chart and I want a target figure of sales pro rata. So total budget divided by 365 to give me a day target. Then take that day target and multiply by the day of the year for example today 31st may is the 151st day of year

 

Im not sure how to do this, if it shoudl be a measured column or something else?

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi kporteous,

 

Create a calculate column using DAX formula like this pattern:

result =
SUM ( table[budget] ) * table[date]
    / 365

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi kporteous,

 

Create a calculate column using DAX formula like this pattern:

result =
SUM ( table[budget] ) * table[date]
    / 365

Regards,

Jimmy Tao

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.