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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors