Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dapostolopoylos
Creator III
Creator III

Suppress zeros in chart with more than one expression

Hello, experts.

What i am trying to achieve is the following:

I have a straight table with numerous dimensions and more than one expressions. What i want to do is that i want to suppress the rows that display at least one zero values.

For example if my chart is the following 

Dim1Dim2Dim3Expr1Expr2
GeorgeEmployeeMale1020
JohnAdministratorMale50
ValeryDeveloperFemale010
RickManagerMale507
SusanManagerFemale00
MarySecretaryFemale1010

 

what i want to show on my app it he following

Dim1Dim2Dim3Expr1Expr2
GeorgeEmployeeMale1020
RickManagerMale507
MarySecretaryFemale1010

 

How can we do that?

Father/Husband/BI Developer
Labels (1)
1 Solution

Accepted Solutions
dapostolopoylos
Creator III
Creator III
Author

It's funny how the solution comes to you right after you post a question on the forum 😁

My working solution is this:

I replaced the first dimension with the Calculated one of that type:

=If(Not IsNull(Aggr(Sum(Expr1),Dim1))  and Not IsNull(Aggr(Sum(Expr2),Dim1)),
Dim1)

and then i ticked the "Suppress when value is Null".

😀

 

Father/Husband/BI Developer

View solution in original post

1 Reply
dapostolopoylos
Creator III
Creator III
Author

It's funny how the solution comes to you right after you post a question on the forum 😁

My working solution is this:

I replaced the first dimension with the Calculated one of that type:

=If(Not IsNull(Aggr(Sum(Expr1),Dim1))  and Not IsNull(Aggr(Sum(Expr2),Dim1)),
Dim1)

and then i ticked the "Suppress when value is Null".

😀

 

Father/Husband/BI Developer