Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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
Partner - Champion II
Partner - Champion II

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

View solution in original post

1 Reply
OmarBenSalem
Partner - Champion II
Partner - Champion II

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