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: 
qlikviewwizard
Master II
Master II

Strange issue with null records

Hi All,

I am unable to handle NULL records in scripting.

For example Ename-WARD has the SAL and COMM in Q1 but no data in Q2.

When I select Q2 for WARD records showing '--'.

For SMITH COMM is 0 in Q1 and % is '--'.

Screen:

Capture.JPG


I want to show NULL values to zero in the script.So that I can see 0% in the report for Q2 as well.

Capture1.JPG


Please help me.

Enclosed the app. for your reference.


Thanks in advance.



1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Give 0% in Presentation tab-> Null and Missing Symbols option.

Regards,

Jagan.

View solution in original post

9 Replies
qlikviewwizard
Master II
Master II
Author

Hi Folks, Any solution?

Not applicable

to handle the null values, u can use if conditions in expressions. Like,

% -  If(isnull(Column(1)/Column(2)), 0, Column(1)/Column(2))

qlikviewwizard
Master II
Master II
Author

Capture.JPG

Hi kSindhuKannan

I tried this.

But for Q2 WARD is getting '--' values.

Please check. !

Anonymous
Not applicable

PFA

qlikviewwizard
Master II
Master II
Author

Hi ravic906 ,

Thank you for your solution. But % is not showing for 0 values. Could you advise?

er_mohit
Master II
Master II

Hi

if you want to show - null values to 0 in chart then there's an option in chart table properties.

Go to Properties-->presentation tab--> below you find null value symbol replace it with 0

hope it helps

Anonymous
Not applicable

Populate missing values

Not applicable

Hi i think u can use this

Capture.JPG

jagan
Partner - Champion III
Partner - Champion III

Hi,

Give 0% in Presentation tab-> Null and Missing Symbols option.

Regards,

Jagan.