cancel
Showing results for
Did you mean:

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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.

1 ACCEPTED SOLUTION
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]))

2 REPLIES 2
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]))

Helper I

@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?   👼

Announcements

#### New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

#### Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

#### Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors