Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

null value in a table

Hi,

I have the following table:

FAMILIADES_SUB1DES_SUB2ITEMIDITEMNAMEStockConsumptionDaysStocking days
Total



6019
01.ALIMENTACION01.DESAYUNOS Y MERIENDASCACAO Y CREMAS8410109001631VALOR CHOCOLATE TAZA6019-

The formula: "Stocking days" is a calculation: (Stock/Consumtion)*365 but in this case I have a stocking days "-". I tryied with this, but it does not work:

If( (Stock/Consumtion)*365 =null();0; (Stock/Consumtion)*365)

I would like to do, If it's "-" then '0'

Thank's

1 Solution

Accepted Solutions
kouroshkarimi
Creator III
Creator III

In the bottom left of the presentation tab you can set the replacement characters for null values. (Null Symbol & Missing Symbol). Try using isnull(value)=-1 instead of value=null() in your if statement.

View solution in original post

2 Replies
kouroshkarimi
Creator III
Creator III

In the bottom left of the presentation tab you can set the replacement characters for null values. (Null Symbol & Missing Symbol). Try using isnull(value)=-1 instead of value=null() in your if statement.

ecabanas
Creator II
Creator II
Author

thank's it works!!!!