Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
kishorj1982
Creator II
Creator II

showing >12 months data in qlik chart

Hi,

I have last 18 moths data for 1 year I need to show all 12 months and resp data for >1 year option I need to show remaining 6 month

(> than last 12 months data) data.

Can you please suggest what would be set analysis expression for this

1 Reply
Anil_Babu_Samineni

Can you try these?

For 12 Months

Sum({<MonthYear = {">=$(=Date(AddMonths(Max(MonthYear),-12),'MMM YYYY')) <=$(=Date(Max(MonthYear),'MMM YYYY'))"}>}Value)


For 6 Months

Sum({<MonthYear = {">=$(=Date(AddMonths(Max(MonthYear),-6),'MMM YYYY')) <=$(=Date(Max(MonthYear),'MMM YYYY'))"}>}Value)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful