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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
guanel1
Helper I
Helper I

DATEADD not giving me the dates

I am needing to create a visit window report to show the expected visit windows for visits based on the procedure date. 

here is what i have uploaded as an example:

guanel1_0-1605062493682.png

I am trying to have the [Visit window Start] column display to show the [Procedure] date plus 5 days. (see formula bar for what i used).

So for example, the first procedure date is listed as 01-MAR-2020 so the date that should be calculated is 06-MAR-2020. But nothing shows up. 

 

What am I doing incorrectly?

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

@guanel1 ,

 

You need a table with continuos date, create a date table and relate them, use this code on your column:

Column = DATEADD(Data[Date], 5, DAY)

 

Capture.PNG



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@guanel1 , date add need continuous dates , Simply add +5 for days

Visit Window Start = Table3[Procedure] +5

 

Also, refer: https://www.youtube.com/watch?v=YWo-ZpKM6gU

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thank you, this is works when there is always a date listed in the procedure column. However, if it is blank, what formula should i use to have it give me a blank answer? 

camargos88
Community Champion
Community Champion

@guanel1 ,

 

You need a table with continuos date, create a date table and relate them, use this code on your column:

Column = DATEADD(Data[Date], 5, DAY)

 

Capture.PNG



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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