Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
praveenkumar_s
Creator II
Creator II

Replacing Null values

Hi,

     I want to replace the EmployeeID null value as 0. what can i do to get that as i join three table containing EmployeeID

Capture.PNG

4 Replies
sushil353
Master II
Master II

if you want to change the null value in the charts

then use expression : alt(EmloyeeID,0)

HTH

Sushil

Not applicable

You can achieve this in two ways either in script or in chart. In chart go to presentation tab change the null value represent from - to 0.

If you want to achieve this in script level check for null value while loading from source change the value there it self.

you can use isnull or coalesce function bro.

Not applicable

Hi Praveen,

Use following at Backend i.e, in scrpting (Ctrl + E)

    IF(ISNULL(EmployeeID),0,EmployeeID) AS EmployeeID

tyagishaila
Specialist
Specialist

Try it once,

Write in script-

NullAsValue EmployeeID;

SET NullValue='0';