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: 
Luke_Killer_IT
Creator
Creator

Hide empty records

Hello, I have this problem I need to hide empty records I created this command 

if(Sum(MMT_MRPAccount.DemandQty)>0 ,Sum(MMT_MRPAccount.DemandQty),' ')
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Perhaps changing the expression to:

if(sum(MMT_MRPAccount.DemandQty) >0, sum(MMT_MRPAccount.DemandQty), Null() )

and then as others suggested change the setting to suppress null values.

With your current expression the 0 or less values are a string of spaces and are not nulls.

HTH,

John

View solution in original post

5 Replies
anat
Master
Master

click on "Suppress when value is null"

Luke_Killer_IT
Creator
Creator
Author

Luke_Killer_IT_0-1649679577812.png

Luke_Killer_IT_1-1649679635650.png

I am not using imported data in this table, I am using chart functions and therefore I have problems with hiding unwanted empty data.

anat
Master
Master

go to presentation tab ,suppress null value

Prasad_Kanse
Contributor
Contributor

1)  dimension Tab > Suppress When value is Null

2) Presentation Tab > Suppress Zero - Values

But as I can see you are using multiple expressions. Other expressions giving you the extra rows in a result.  So, you have to use set analysis expression for Bedaft i.e. {< Field_name = {" sum(expression) >1 "}    > }.

Anonymous
Not applicable

Perhaps changing the expression to:

if(sum(MMT_MRPAccount.DemandQty) >0, sum(MMT_MRPAccount.DemandQty), Null() )

and then as others suggested change the setting to suppress null values.

With your current expression the 0 or less values are a string of spaces and are not nulls.

HTH,

John