Forum Discussion

JMSNYC's avatar
JMSNYC
Helper III
7 years ago
Solved

SUBSTRACT DATE ISSUES

Hi.

 

I need to subtract an integer number of months from an existing date (e.g., -6 month from April, 1 2019).

 

Issue is: I have a blank cell using DATEADD(Date(2019,04,01),-6,MONTH), because date should be November, 1, 2018. It seems that date subtraction works if year does not change.

 

Am I missing something ?

 

Thanks for your help.

4 Replies

  • HotChilli's avatar
    HotChilli
    Community Champion

    Usually this is due to the end result of the dateadd operation not existing as a date in the model so that's my educated guess.

    From documentation : The result table includes only dates that exist in the dates column