Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want click view to choose the previous months but don't know how to tell it. For example, Today is June 15th, I want qlikview to give me the previous 5 months. When the date is July 18th, I want it to give me the previous 6 months, etc.
Any help is appreciated.
try this
sum({<Date = {">=$(=MonthStart(Max(Date), -5))<=$(=MonthEnd(Max(Date)))"},DATE=,Year=,Month=>}Sale)
see the attached file
hope it helps you