Forum Discussion
DATEADD doesn't display dates in future
- 2 years ago
Dateadd function doesnot work for you as it takes the list of available dates from your date table.
For your requirement you can try creating a calculated column using the below pattern
DATE(Year(DateTable[Date]) + 3, Month(DateTable[Date]), Day(DateTable[Date])
you can also do this in power query using Date.AddYears function
https://learn.microsoft.com/en-us/powerquery-m/date-addyears
Dateadd function doesnot work for you as it takes the list of available dates from your date table.
For your requirement you can try creating a calculated column using the below pattern
DATE(Year(DateTable[Date]) + 3, Month(DateTable[Date]), Day(DateTable[Date])
you can also do this in power query using Date.AddYears function
https://learn.microsoft.com/en-us/powerquery-m/date-addyears
- oliverome2 years agoRegular Visitor
Thank you! I had tried that before, but I see I put the +3 in the wrong place. It works now.