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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

KPI based on different filters

I have created an actuals KPI and Pivot Table.  I added a KPI fields.  The user will see by all years.  I select by year (2015).  Then I see my KPI Dashboard and then select company.  I want to see KPI fields Sum by that select year and another sum based on my selected selection (example Company).

2 Replies
jolivares
Specialist
Specialist

In this case you need to use a set expression:

Sum({<Year={2015}> Sales}     Sales for the Year 2015

Sum({<Year={$(=Max(Year))}> Sales}     Sales for the selected Year

Sum({<Year={$(=Max(Year))}, Company_ID> Sales}     Sales for the selected Year, no matter a selected company


etc...

PaulVerkooijen_DataFix
Partner - Specialist II
Partner - Specialist II