Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
jakelongnaruto
Contributor II
Contributor II

Hiding rows that have negative values in Qlik Sense HUB

Hi,
How to remove/hide ROWS that have negative value in Qliksense Web.
From this example, I would like to hide rows B and C because Spend is negative.

jakelongnaruto_0-1671551647054.png


Been searching old topics but nothing works.
Thank you in advance

1 Solution

Accepted Solutions
jakelongnaruto
Contributor II
Contributor II
Author

It works finally.

If(SQMSpend < 0, Null(), Expression-related-to-XYZ-measure)

There are many more measures columns. So I applied the expression above to all of them. Using If(SQMSpend < 0, Null(),  as the base + Expression-related-to-XYZ-measure

 

View solution in original post

6 Replies
BrunPierre
Master
Master

Sum({$<Supplier={"=Sum(Spend)>0"}>} Spend)
jakelongnaruto
Contributor II
Contributor II
Author

That looks all strange to me.
I'm using Qliksense HUB. All I can edit is from here.

jakelongnaruto_0-1671573000218.png

 

BrunPierre
Master
Master

What's the expression for the SQMSpend?

jakelongnaruto
Contributor II
Contributor II
Author

Nothing actually. 
SQMSpend is just spend. The "//if(sum.....)" is just a comment out

BrunPierre
Master
Master

Maybe using an if statement?

If(SQMSpend < 0, Null(), SQMSpend)

jakelongnaruto
Contributor II
Contributor II
Author

It works finally.

If(SQMSpend < 0, Null(), Expression-related-to-XYZ-measure)

There are many more measures columns. So I applied the expression above to all of them. Using If(SQMSpend < 0, Null(),  as the base + Expression-related-to-XYZ-measure