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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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