Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Remove rows from table

Hello.
I have some table:

In second column I have sum(x), these values are more or less 0.
I'd like remove rows where values are less 0.

How can I do it?

4 Replies
Gysbert_Wassenaar

Assuming you have only one dimension, in column 1, in that table and it's name is DimA then change all measures, i.e. columns 2,3,4 and 5. Change sum(x) to sum({<DimA={"=sum(x)<>0"}>}x). Add the bold part to all the expressions. If your dimension is not called DimA then replace DimA with the correct name.


talk is cheap, supply exceeds demand
adriansalas
Contributor III
Contributor III

at the expresion:

     =if(sum(revenue)<0, null(), sum(revenue))

and in properties table, Presentation tab, set delete when is null

fonmarcelo
Contributor III
Contributor III

Do with set analysis.

Change Sum( X ) to Sum({<DimA={"=Sum( X )<>0"}>} X)

Not applicable
Author

For one column, I done, thanks.
How can I do, show rows where sum values in second column OR third column more 0 ?