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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Ishragil
Contributor III
Contributor III

How to "hide" lines in a table when a certain value is 0

Hi

In the following table, I would like to hide the lines where "Total lines" (which is a calculates measure) equals 0:

Ishragil_0-1619440243875.png

I've tried several options, such as  unmarking "Include zero values"

Ishragil_1-1619440309103.png

but the lines continue to appear

 

1 Solution

Accepted Solutions
MayilVahanan

HI @Ishragil 

Reason is still display the zero values, due to "Hours" measure.

If you want to remove the lines, try like below

If("Total lines" expression > 0, Hours expression, 0)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

3 Replies
Ishragil
Contributor III
Contributor III
Author

Still didn't find a solution
Any idea?

MayilVahanan

HI @Ishragil 

Reason is still display the zero values, due to "Hours" measure.

If you want to remove the lines, try like below

If("Total lines" expression > 0, Hours expression, 0)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Ishragil
Contributor III
Contributor III
Author

It's so simple that I feel the need to smack myself😂

 

Thanks a lot my friend🌻