Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I need dynamic labels. I'm comparing last year current Month VS this year current Month.
Ex: last May VS current May.
May-2016 =max([Month Period])
How can I get May-2015 .
Please help me out.
Thanks,
Krishna.
Month_period |
---|
Feb-2014 |
Mar-2014 |
Apr-2014 |
May-2014 |
Jun-2014 |
Jul-2014 |
Aug-2014 |
Sep-2014 |
Oct-2014 |
Nov-2014 |
Dec-2014 |
Jan-2015 |
Feb-2015 |
Mar-2015 |
Apr-2015 |
May-2015 |
Jun-2015 |
Jul-2015 |
Aug-2015 |
Sep-2015 |
Oct-2015 |
Nov-2015 |
Dec-2015 |
Jan-2016 |
Feb-2016 |
Mar-2016 |
Apr-2016 |
May-2016 |
If your Month-Year values show a numeric representation that represents a date, use QlikView date functions like AddYears():
=MonthName(AddYears(Max([Month Period]),-1))
If your Month-Year values show a numeric representation that represents a date, use QlikView date functions like AddYears():
=MonthName(AddYears(Max([Month Period]),-1))
Thanks Swuehl