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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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