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

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

Reply
eilidh3
Frequent Visitor

Calculating future dates from a project start date

Hi all,

 

Im looking to do a calculation that will provide me with future 'no later than' dates for a survey. 

 

I have a project start date (01.01.20) and project end date (31.12.20) and want a calculation that will provide the half way date (06.20) and another one to calculate one month after the project end date.

 

I'm presuming this is pretty easy to do but cant find anything online (although likely its my search terminology)  

 

Thanks in advance 🙂  

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@eilidh3 , Both as new columns

mid date = [start_date]+ quotient(datediff([start_date],[end_date],day),2)
one month after date = date(year([end_date]),month([end_date])+1,day([end_date]))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@eilidh3 , Both as new columns

mid date = [start_date]+ quotient(datediff([start_date],[end_date],day),2)
one month after date = date(year([end_date]),month([end_date])+1,day([end_date]))

@amitchandak Easy when you know how 🙂  Thank you!!  👍

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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