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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewp
Creator III
Creator III

Hide rows in straight table based on field value

I have a straight table that I want to hide the rows unless the Flag field is null.

The values in the Flag field can be A, B or NULL ( - ).

How can i do this

8 Replies
HirisH_V7
Master
Master

You can suppress null() for the particular dimension,

supress null straight table.PNG

or at presentation tab, -> supress missing or supress zero for your particular columns need to be ticked.

-Hirish

HirisH
matthewp
Creator III
Creator III
Author

I DONT want to suppress null, i want to ONLY show null

tamilarasu
Champion
Champion

Hello Matthew,

Add below expression in your expression tab.

If(Len(Trim(Flag Field Name))=0,'-',0)

And make sure "Suppress Zero-Values" option is enaled in the presentation tab.

matthewp
Creator III
Creator III
Author

I DONT want to suppress nulls, i want to ONLY show nulls

tamilarasu
Champion
Champion

The above expression will shows the null values and hides remaining values. Have you tried the expression?

matthewp
Creator III
Creator III
Author

Yeh it still doesnt show them

Anonymous
Not applicable

Hi,

Please see attached.

Hope it helps!

tamilarasu
Champion
Champion

The expression is working fine in the below attached file.