Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

what is the purpose of $<year = {">=$(=max(year),4)"} ?

Hi All

what is the purpose of $<year = {">=$(=max(year),4)"} ?

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

Paul

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi Paul,

it should be

$<year = {">=$(=max(year,4))"}


Which gives you the fourth maximum year value.


Check Max() in the Qlikview help file.


Regards,

Jagan.

View solution in original post

3 Replies
sunny_talwar

This doesn't seem like right syntax:

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

where max(year, 4) is the 4th max value of year

jagan
Luminary Alumni
Luminary Alumni

Hi Paul,

it should be

$<year = {">=$(=max(year,4))"}


Which gives you the fourth maximum year value.


Check Max() in the Qlikview help file.


Regards,

Jagan.

paulyeo11
Master
Master
Author

Hi Jagan

Thank you very much. Today i learn a lot of SET analysis.

Paul