Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
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)