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: 
sivasiri99
Contributor III
Contributor III

Rolling last month of last Year

Hi,

I need an expression to roll  Last year last month data in pivot table eg(2015 12 mnth ).

i have for the current month expression:

=Sum({<MonthNum={"$(=Max({<Flag={'Link Master'},Year={'$(vCurrentYear)'}>}MonthNum))"}>}[Ending Balance]/1000)

Regard's

sivaram.

1 Reply
sunny_talwar

May be this:

=Sum({<MonthNum={"$(=Max({<Flag={'Link Master'}, Year={$(=Max(Year) - 1)}>}MonthNum))"}, Year={$(=Max(Year) - 1)}>}[Ending Balance]/1000)