Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
joao_ben
Contributor II
Contributor II

Searching in Set Analysis

Hey Guys (First time poster here)

I'm very new to sense, and I've been following an ancient book (QlikSense CookBook), and they give this expression as a measure:

sum({<Year={">=$(=MAX(Year)-1)<=$(=MAX(Year))"}>}Sales)

But the returned values in the chart include more years than the 2 selected...

Am I doing something wrong?

Is there a simpler way to do this?

Thanks in advance

10 Replies
joao_ben
Contributor II
Contributor II
Author

Thank you so much. Everything was correct, but apparently there was an option that was activated that enabled showing null values... When i disabled it everything was all right!!