cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
labeebamani Frequent Visitor
Frequent Visitor

DATEADD FUNCTION RETURNS BLANK IF THE RESULT IS GREATER THAN THE INPUT YEAR

I have created calculated Table from an existing table loaded using Direct query, The Calculated table contain only one Column(Input_Date) with one Date  value, I Want to get the next 18 month(Output_date)  Date using the coloumn 'Input_Date'. I've tried with DATEADD function which return a date value ony if the output date year is same as input date year

If Input_Date =2018-Oct-10

DATEADD(Input_Date; +1 ; MONTH) =2018-Nov-10

DATEADD(Input_Date; +2 ; MONTH) =2018-Dec-10

DATEADD(Input_Date; +3 ; MONTH) =[BLANK]   (Expected Result =2019-Jan-10)

Error.PNG

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: DATEADD FUNCTION RETURNS BLANK IF THE RESULT IS GREATER THAN THE INPUT YEAR

1 REPLY 1

Re: DATEADD FUNCTION RETURNS BLANK IF THE RESULT IS GREATER THAN THE INPUT YEAR

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 37 members 1,017 guests
Please welcome our newest community members: