Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

gerhardl
Not applicable

Date plus one month

Hi There,

I load a specific date like this:

DATE(DATE#( left([Posted Date],11), 'DD-MMM-YY')) as [Posted Date],

Please help me load an additional field which is a date exactly one month later (same day of the month, but one month later).

So if [Posted Date] = 2013/01/22 then [Next Month] = 2013/02/22

     if [Posted Date] = 2012/12/05 then [Next Month] = 2013/01/05

Thanks in advance,

Gerhard

Tags (1)
1 Solution

Accepted Solutions
fosuzuki
Not applicable

Re: Date plus one month

Try this:

addmonths(DATE(DATE#( left([Posted Date],11), 'DD-MMM-YY')), 1) as [Posted Date+1],

2 Replies
fosuzuki
Not applicable

Re: Date plus one month

Try this:

addmonths(DATE(DATE#( left([Posted Date],11), 'DD-MMM-YY')), 1) as [Posted Date+1],

gerhardl
Not applicable

Re: Date plus one month

Perfect, thanks