Skip to main content
Announcements
Qlik Community Office Hours, March 20th. Former Talend Community users, ask your questions live. SIGN UP
cancel
Showing results for 
Search instead for 
Did you mean: 
jeckstein
Partner - Creator
Partner - Creator

Why is KPI not taking selections into consideration?

Have a KPI that says

Sum({<Year={2018}>}Sales)

And a filter of Years (2016,2017,2018).

When I select Year 2017. I expect to see a 0 in the KPI but it still shows a number.

Can anyone explain.

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

The set expression overrides your user selection. This is the normal/default behaviour. You can override this to create an intersection between the selection and the year in the set expression, like this

     Sum({<Year *= {2018}>}Sales)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

The set expression overrides your user selection. This is the normal/default behaviour. You can override this to create an intersection between the selection and the year in the set expression, like this

     Sum({<Year *= {2018}>}Sales)

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

Read more on this topic here:

Implicit Set Operators