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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.