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
ashleylinkewich
Advocate II
Advocate II

DAX: Creating a new table with months between dates and value equally divided by those months

Hi community,

 

Sorry for the poor title - I'm not sure how else to describe this problem. 

 

I am working on a project where I have a table that looks like this:

 

ProjectStart MonthEnd MonthValue
Project AJan 2022March 2022120
Project BDec 2021Feb 2022250
Project CApril 2022July 2022500

 

In order to forecast these values by month, I want to create a visual that has the value equally divided by the months the project spans. To do this, I anticipate I will need a new table that looks like this:

 

Project MonthValue
Project AJan 202240
Project AFeb 202240
Project AMar 202240
Project BDec 202183.33
Project BJan 202283.33
Project BFeb 202283.33
Project CApril 2022125
Project CMay 2022125
Project CJune 2022125
Project CJuly 2022125

 

Basically, I believe I need a table where each row is a month from each project (based on the start and end months) and the value divided equally between those months.

 

Does anyone have suggestions on how to solve this, or the DAX required? Also open to other solutions!

 

Cheers,

1 REPLY 1
amitchandak
Super User
Super User

@ashleylinkewich , refer to the blog or the file attached for a similar solution

How to divide/distribute values between start date or end date or count days across months/days: https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors