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: 
JoshT
Contributor
Contributor

Expression to pull through data only if it matches with criteria within selected field

Hi,

Hopefully someone can please help with this.

I am new to Qlik and just starting to work with expressions.

I am using the KPI chart to pull through an average of specific metric of data I have in my excel sheet. I want to only pull through data from the revenue column IF it has '2021/22' for the FY(financial year) column. See below.

And then this is pulled through into the KPI visual.

This is what I have tried but it doesnt work - =avg([Revenue YoY % Growth])if(FY='2021/22')

 

Expression.PNGKPI Chart - showing average of data.PNG

Labels (1)
2 Replies
maxgro
MVP
MVP

JoshT
Contributor
Contributor
Author

Ah amazing - thank you this worked.

Josh