Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
poisedon
Contributor III
Contributor III

Filtering by multiple fields and conditions

Immagine.jpg

Hi all! 

I Loaded from 100+ xml files many fields and i have a table like this. Now in my Sheet I need to apply a filter for see all Company who have sum of "Value Mar" < Average Value (For example for A company sum of value mar is 38 and average value is (42+64 / 3) = 35 Any idea? Consider in my editor there is a cycle taking each xml file with those fields

1 Solution

Accepted Solutions
NhanNguyen
Contributor III
Contributor III

Let's try this: first, create a variable hold the avg value of 'Value Mar' and then calculate sum of value group by companies. After that, you could use:

- if function in the table to filter out companies that sum > avg

- or 'Where' clause in the script to exclude companies that sum  > avg 

View solution in original post

1 Reply
NhanNguyen
Contributor III
Contributor III

Let's try this: first, create a variable hold the avg value of 'Value Mar' and then calculate sum of value group by companies. After that, you could use:

- if function in the table to filter out companies that sum > avg

- or 'Where' clause in the script to exclude companies that sum  > avg