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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Smiller100
New Member

DATEADD returning all blank values

Hello everyone, new Power BI user here.

 

I am attempting to create an expected date column in a table based off an initial "Join Date" and an ending "Go-Live" date, with the expected ending date for those records that don't have an ending date yet to be calculated by the average of the date difference between the existing initial and ending dates. See example below:

 

Smiller100_0-1633443518750.jpeg

 

Maybe my syntax for the DATEADD expression is wrong, but the column returns all null values. Note that "Join Date" is a Date/Time field, and "Column" (which is calculating the average of the date difference with a DATEDIFF expression) is a Whole Number data type. "Column 2" is also a Date/Time field. Any help is greatly appreciated and I can provide more information if it is needed.

 

Note: I have successfully created the column that displays the correct date by adding a custom column in Power Query, but only by using the static "513" average number that I was getting. I would like a solution that is dynamic.

1 ACCEPTED SOLUTION
jppv20
Solution Sage
Solution Sage

Hi @Smiller100 ,

 

I think simply writing 

Column2 = 'Go-Live Dates'[Join Date]+'Go-Live Dates'[Column] 
will do it:
jppv20_0-1633444941616.png

 

Jori 
 
If I answered your question, please mark it as a solution to help other members find it more quickly.

View solution in original post

6 REPLIES 6
MATTHEWW
Frequent Visitor

Use EDATE() function instead, DATEADD() can only return the dates that exist in the dates column.

Very nice!  Struggled with DATEADD() not working with TODAY() but EDATE() worked great.  Thanks!!

parry2k
Super User
Super User

@Smiller100 I think it will be easier if you share a sample pbix file with the expected output.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

jppv20
Solution Sage
Solution Sage

Hi @Smiller100 ,

 

I think simply writing 

Column2 = 'Go-Live Dates'[Join Date]+'Go-Live Dates'[Column] 
will do it:
jppv20_0-1633444941616.png

 

Jori 
 
If I answered your question, please mark it as a solution to help other members find it more quickly.
parry2k
Super User
Super User

@Smiller100 I think you want to use DATEDIFF not DATEADD

 

Follow us on LinkedIn

 

Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

 

Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k thank you for the suggestion, unfortunately for this analysis I think I do want to be using DATEADD instead of DATEDIFF because I am trying to determine the expected date based off of an initial date and an average for number of days it typically takes for a record to "go-live." If there is a way to accomplish this with DATEDIFF instead of DATEADD then could you shed some light on how I would accomplish this?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors