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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

SET expression how to add filter year > 2009 ?

Hi All

sum({$<year = {">=$(=max(year),4)"}, month = {"<=$(=max({<year={$(=max(year))}>} month))"}, COMPETITOR = {'WAGO', 'iTDS'}>}distinct REVENUE_C)/1000000

Above expression from sunny , will plot the year from 2000 till YTD , may i know how to add filter to above expression , so that it will plot from year more then 2009 ?

Meaning i only want to see the chart 1 , X axis display from 2009 till 2015.

Paul

1 Solution

Accepted Solutions
sunny_talwar

May be this:

Sum({$<year = {">=2009"}, month = {"<=$(=max({<year={$(=max(year))}>} month))"}, COMPETITOR = {'WAGO', 'iTDS'}>}distinct REVENUE_C)/1000000


Capture.PNG

View solution in original post

3 Replies
paulyeo11
Master
Master
Author

My QV Doc

sunny_talwar

May be this:

Sum({$<year = {">=2009"}, month = {"<=$(=max({<year={$(=max(year))}>} month))"}, COMPETITOR = {'WAGO', 'iTDS'}>}distinct REVENUE_C)/1000000


Capture.PNG

paulyeo11
Master
Master
Author

Hi sunny

Many thank

Paul