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: 
Not applicable

Programmatically filter dimension based on aggregated value

Hello All,

I'm pretty new on QLikView platform and I'm working on my first project.

Usually all doubts I had are solved, just, reading this community forum, but this case is the exception: I didn't find nothing.

I have a table with two fields: ID (auto-number) and value. I can have several values for same ID.

Now I want to create a button that excludes all ID where sum of values are less than 0.1

Usually, I create an histogram with dimension floor(aggr(sum(value), ID), 0.1) and expression count(value), then I filter for value greater than 0.1.

I tried to use a button with "select in field" action using following condition: =Aggr(if(sum(value='>0.1', ID), ID)

but it doesn't work.

Can someone help me?

Thanks in advance,

Salvo

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this expression as search expression:

='(' & concat({<ID={"=sum(value)>=0.1"}>} distinct ID,'|') & ')'


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try this expression as search expression:

='(' & concat({<ID={"=sum(value)>=0.1"}>} distinct ID,'|') & ')'


talk is cheap, supply exceeds demand
Not applicable
Author

Hi Gysbert,

it works..!

Thanks so much for your help

Salvo