Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

My Table appear 2 Column of May 2013 ?

Hi All

I use below expression for label :-

May 2013 label :-

=Date(today()-90,'MMM YY')

April 2013 label :-

=Date(today()-120,'MMM YY')

Mu issue is the both above expression , it display May 2013 ?

Paul

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

  Hi,

Try like this

For Apr-2013

=Date(AddMonths(today(), -4),'MMM YY')

For May-2013 

=Date(AddMonths(today(), -3),'MMM YY')

Regards,

Jagan.

View solution in original post

2 Replies
jagan
Luminary Alumni
Luminary Alumni

  Hi,

Try like this

For Apr-2013

=Date(AddMonths(today(), -4),'MMM YY')

For May-2013 

=Date(AddMonths(today(), -3),'MMM YY')

Regards,

Jagan.

Not applicable
Author

Hi Jagan

Your approach work fine. But i am very surprise , where go wrong ? I believe there are reasons for it. 

Any way thank you very much for your advise.

Paul