Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide rows that are null

Hello,

I have created a table in qlikview that has the collumns 'Day', 'Topic', and 'Shop Talk'.  I want to only display the rows where 'Shop Talk' has a value.  I've been using the following statement, but it is not working

if

(Len([Shop Talk]) > 0, Only(Day))


Where do i put this expression?  I'm not exactly sure where to put it.  I cant seem to get it to work.

1 Solution

Accepted Solutions
jpapador
Partner - Specialist
Partner - Specialist

To me those look like fields that are blank (just spaces in them) not technically null which would be displayed as '-" instead of just a blank box.  In the script use the trim command on shop talk:

Trim([Shop Talk]) as [Shop Talk]

That should solve your issue as long as the checkbox is checked to omit null rows.

View solution in original post

11 Replies
jpapador
Partner - Specialist
Partner - Specialist

If you are using a table box, simply in the properties go to presentation tab.  Highlight the field you want and suppress values when field is null.

Anonymous
Not applicable
Author

Try making your table a chart of type Straight Table.

  • Set Dimension to 'Day' and 'Topic'
  • Set the Expression to only([Shop Talk])
  • On the Presentation tab tick Suppress Zero-Values and Suppress Missing
Not applicable
Author

I checked that box but it still doesnt hide the rows

saurabh5
Creator II
Creator II


hi Brandon,

if you have a straight table or a pivot table, then for the dimenssion 'Shop talk' just check mark 'Suppress when value is null' and it will get what you are aiming for, you dont need any expression for that i suppose.

Regards

Saurabh

Not applicable
Author

On the dimension tab of your table properties, select 'Suppress When Value Is Null'

Not applicable
Author

I check the box and nothing happens.

Capture.PNG

jpapador
Partner - Specialist
Partner - Specialist

So even with that box checked you are still seeing '-' (null values) in the shop talk column?

Not applicable
Author

correct

jpapador
Partner - Specialist
Partner - Specialist

Do you have a screenshot of this?