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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.