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

Filtering a dimension based on a condition.

I want to to create a Master Item to be used as a Dimension in some of my charts. I need to show only the streets with more than 9 houses.

I tried the following:

=if([STREET]=(Sum(NUM_OF_HOUSES)>=10),[STREET],Null())

But it returns an Invalid Dimension, any ideas?

Thanks in advance.

1 Solution

Accepted Solutions
OmarBenSalem

if(  aggr(sum( NUM_OF_HOUSES),STREET)>=10, STREET, Null())

View solution in original post

1 Reply
OmarBenSalem

if(  aggr(sum( NUM_OF_HOUSES),STREET)>=10, STREET, Null())