Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
stekol61
Creator
Creator

expression with multiple filters

Hi!

I have loaded some data from an Excel.

I want to be able to get the value in'Limit(%)' for a specific 'Graph_num' and 'Country'.

I have used this expression but it doesn't find the correct 'Limit(%)'

What can be the problem?

 

=Sum({$<Graph_num={14}>}{$<Country={SE}>}[[Limit(%)])

Graph_numLimit(%)Country
2498SE
2498DK
2495EE
2495FI
2498LT
2495NO
1492DK
1490EE
1492FI
1475LT
1492NO
1492SE
1 Solution

Accepted Solutions
lalphonso
Partner - Contributor III
Partner - Contributor III

Hi @stekol61 ,

You can combine your filters into one set expression like this:

=Sum({$<Graph_num={14},Country={"SE"}>}[Limit(%)])

Cheers,

LA

View solution in original post

2 Replies
lalphonso
Partner - Contributor III
Partner - Contributor III

Hi @stekol61 ,

You can combine your filters into one set expression like this:

=Sum({$<Graph_num={14},Country={"SE"}>}[Limit(%)])

Cheers,

LA

lalphonso
Partner - Contributor III
Partner - Contributor III

Another way is to use it as a row level dimension ...

=if(Graph_num=14, if(Country="SE", [Limit(%)],0),0)

Cheers,

LA