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: 
Nittin16
Partner - Contributor
Partner - Contributor

Hide Rows with Zero values without using INCLUDING ZERO VALUES

Hi Team,

Is it possible to hide rows which has 0's in straight table without using  INCLUDING ZERO VALUES ? 

Eg:

Desc, Amount

A,0

B,0

C(A+B), 0 

D,1

E,2

Requirement is A and  B row should be hidden if they are zeros  and C (A+B) should be shown on the table if it is zero.

Labels (1)
1 Reply
rubenmarin
MVP
MVP

Hi, maybe setting null() in the expression, but you will need extra checks, like:

If(Match(Desc,'A','B')
  ,If(Sum(Amount)=0
    ,Null()
    ,Sum(Amount)
  ,Sum(Amount)
)