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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sunnie
Helper I
Helper I

DateAdd Number of Intervals not showing for all rows

Hi, I'm trying to spread total hours of a task over a certain number of months.  I don't have an end date , but I do have a start date.  I thought simple way was to use DateADD , yet my outcome is not configuring for all rows. 

 

Duration Interval = DATEADD('STEP Resource Planning'[Start],[Duration(months)],MONTH)

 

I want to use this as my End Date column.  Wanting to know if this makes sense to do it this way, and if so, how do I have it calculate for all rows.

Thanks.  

 

Sunnie_0-1616720618480.png

 

1 ACCEPTED SOLUTION
JW_van_Holst
Resolver IV
Resolver IV

Assuming you are using a calcuated column:

Duration Interval = DATE(YEAR('STEP Resource Planning'[Start]), MONTH('STEP Resource Planning'[Start]) + 'STEP Resource Planning'[Duration(month)]), DAY('STEP Resource Planning'[Start]))

View solution in original post

2 REPLIES 2
JW_van_Holst
Resolver IV
Resolver IV

Assuming you are using a calcuated column:

Duration Interval = DATE(YEAR('STEP Resource Planning'[Start]), MONTH('STEP Resource Planning'[Start]) + 'STEP Resource Planning'[Duration(month)]), DAY('STEP Resource Planning'[Start]))

@JW_van_Holst , oh my goodness, your Dax worked and look all the hours are in the months columns.. so thankful  do you know how many hours I've been trying to get this to work?   👼

Sunnie_1-1616799916500.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors