Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
ZimaBlue
Creator
Creator

Limit the rows in the table to the specified percentage

Hello!

In my visualization there is a table where I add one dimension and one measure (calculated by the formula). What I want to do is tell my table: show me only those rows where the result of calculating the measure is <= -0.3. It's easy to do in sql and anywhere else. How can I make this work in qlik sense?

This is not obtained through the expression of the calculation conditions (it ignores this) or through the if condition in the measure itself.

Thanks for any tips! This is what should be a very simple and obvious setup

4 Replies
albertovarela
Partner - Specialist
Partner - Specialist

This could be one option:  

Let say your calculation is Sum(Field).  You could add the evaluation of the measure as a modifier; this will limit the the dimensional values exposed on the table

Sum({$<TheDimOnTheTable = {"=sum(Field)<=-0.3"}>}Field)

ZimaBlue
Creator
Creator
Author

Hello!

I don't quite understand, do I need to create a variable, instead of calculating in the chart formula?

albertovarela
Partner - Specialist
Partner - Specialist

Can you share the dimension and measure (expression) you are using in the table?

ZimaBlue
Creator
Creator
Author

Yes, my dimension is just a column reference

ZimaBlue_0-1644821619753.png

And the measure is:

ZimaBlue_1-1644821674888.png

 

This is the difference of the value of the current month from the previous one in %. And I want my table:

ZimaBlue_2-1644822007163.png

it showed only those rows in which the second column (my measure) turns out to be 30%. The visualization type is just a table, not a pivot table.