Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Current year previous 3 months

Fin_YearJanFebMarAprMayJunJulAugSepOctNovDec
2011450004400046000450004700048000490004000041000420004400045000

this is my data.

i want to show this when i select August 2011

JunJulAug
480004900040000

and when I select April this should come.

FebMarApr
440004600045000
6 Replies
rajni_batra
Specialist
Specialist

try month>= addmonths(month,2)

tresesco
MVP
MVP

Have a look at the attachment. Hope this helps. (Courtsey: sparur)

Regards,

tresesco

Not applicable
Author

you can also try this:

sum({<date = {'<=$(=MonthEnd(makedate(fin_year,month,1)))>=$(=addmonths(makedate(fin_year,month,1),-2))'}, month = >}field)

sivarajs
Specialist II
Specialist II

Try the attached sample

Not applicable
Author

Sivaraj you sample will only work when your Months are numbers!! But in irfankhanirf case you have the Monthnames.

regards,

MT

sivarajs
Specialist II
Specialist II

Check out this sample