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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Date End Date from Start Date Column

Hello,

I am trying to calculate an end date column for a program based off a start date column and a program lenght column. Below is the DAX I am using. It pulls over some dates, but not all. Any ideas?

 

Expiration Date = DATEADD('LCD Program Tracking'[Start date],[Program Length],MONTH)
 
KUShane_0-1702062126056.png

 

 
1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

pls try this

Expiration Date =EDATE('LCD Program Tracking'[Start date],[Program Length])

View solution in original post

6 REPLIES 6
Ritaf1983
Super User
Super User

Hi @Anonymous 
Datedadd doesn't work for the overlapping year.

Please update the formula to :

end date = EDATE('Table'[start date].[Date],[program lenth])
PBIX is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Anonymous
Not applicable

Hi there,

I am drawing a blank. My current lenght column is in months. How do I update it to calculate by weeks?

Anonymous
Not applicable

That worked! Thank you so much!

Ahmedx
Super User
Super User

pls try this

Expiration Date =EDATE('LCD Program Tracking'[Start date],[Program Length])
Anonymous
Not applicable

I am drawing a blank. It is calculating my new expiration date column correctly. However, I am wanting the length to be in weeks instead of months. How would I change that?

KUShane_0-1705959979083.png

 

 

Anonymous
Not applicable

That worked! Thank you so much!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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