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

Filtering a table in QSense

Hello everybody

Im totally new to QlikSense and these days Im trying to figure out how to use this fantastic tool.

I created a simple table with one dimension and some measures and tried to filter it by one column's (measure) value.

Basically, I just want the chart to show me only values with percentage greater than X.

For me it sounds basic, but after some searches here i understood that its not that easy to create this kind of filter.

I tried to create an expression with result of 1 or 0 and then hide nulls, but the "show nulls" is available only in dimensions.

Does anyone know if there is a solution for that? or it requires an extension?

Thanks a lot

Dolev

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

You can do it this way:

in dimension:

=if(aggr(YourMeasure, YourDimension)>X,YourDimension,null())

in measue:

=YourMeasure


Then you can manipulate "Include null values" in the dimension field.


e.g.:

code in the dimension field:

=if(aggr(count(SalesID), CategoryName)>2000,CategoryName,null())

code in the measure field:

=count(SalesID)

Capture.JPG

View solution in original post

5 Replies
beck_bakytbek
Master
Master

Hi Dolve,

look at this;like a triggers in Qlik View but in Qlik Sense

i hope that help

Beck

Not applicable
Author

Hi Beck

Thanks for the answer, but currently i would prefer a solution that doesnt require an extension, if possible

Anonymous
Not applicable
Author

You can do it this way:

in dimension:

=if(aggr(YourMeasure, YourDimension)>X,YourDimension,null())

in measue:

=YourMeasure


Then you can manipulate "Include null values" in the dimension field.


e.g.:

code in the dimension field:

=if(aggr(count(SalesID), CategoryName)>2000,CategoryName,null())

code in the measure field:

=count(SalesID)

Capture.JPG

Not applicable
Author

Wow, thank you very much!

I was struggling with that so long.

Thanks!

Anonymous
Not applicable
Author

No problem

Unfortunately, QS' syntax is not so intuitive and 'friendly' as we wish..