Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rsdhavle
Creator II
Creator II

Rolling Month in Set analysis expression excluding Month Selection

I have to calculate data for rolling 12 months in a variable and this variable value should not change based on field Month selection. Currently when i am selecting a Month in a field it is changing.

5 Replies
robert_mika
Master III
Master III

Try use Month= 

in your set analysis to ignore selection in the Month dimension.

like:

sum({<Month =,  }fieldname)

sunny_talwar

What is your expression right now?

rsdhavle
Creator II
Creator II
Author

SUM({<Year=,MONTH=,YearMonth={'>$(=Max(YearMonth)-100) <=$(=Max(YearMonth))'}>}Revenue)

This is my current expression somehow even after exculding Month, it changes based on Month selection.

Is it because of YearMonth range i have defined in the expression

sunny_talwar

May be this:

Sum({<Year=, MONTH=, YearMonth = {'>$(=Max({<MONTH=>} YearMonth) - 100)<=$(=Max({<MONTH=>} YearMonth))'}>} Revenue)

robert_mika
Master III
Master III

Qlikview is case sensitive.

Is MONTH in set analysis = Month in Listboxes?