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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
AndrewUrban
Frequent Visitor

Pro Rated Value based on Days of Month - Formula Help

Hello! 

 

I'm looking for a DAX formula that will give me a pro rated value based on the current day in the month.

 

For example, February is forecasted at $100K, if we are 7 days into the month, I need the pro-rated forecast number which would be $25K. 

 

Thank you so much! 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AndrewUrban ,

I have created a simple sample, please refer to my pbix file to see if it helps you.

Create a measure.

Measure = 
var _maxday=DAY(EOMONTH(MAX(Sheet1[date]),0))
return 
(DAY(TODAY())/_maxday)*MAX(Sheet1[forecast])

vpollymsft_0-1675301517622.png

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @AndrewUrban ,

I have created a simple sample, please refer to my pbix file to see if it helps you.

Create a measure.

Measure = 
var _maxday=DAY(EOMONTH(MAX(Sheet1[date]),0))
return 
(DAY(TODAY())/_maxday)*MAX(Sheet1[forecast])

vpollymsft_0-1675301517622.png

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.