Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to eliminate nulls from the fact at script level

Hello everyone,

Can anybody tell me, How to eliminate nulls from the fact at script level,

Thanks

3 Replies
miikkaqlick
Partner - Creator II
Partner - Creator II

Hi!

For example like this:

Load

     Dim1

     Val2

     If( IsNull(Val3), 0, Val3) as Val3

From ...

Br,

Miikka

Climber

JonnyPoole
Former Employee
Former Employee

The LOAD syntax supports WHERE clauses.  Use NOT and isnull() as follows.  If you use SQL you should do the equivalent syntax in the SQL Where clause instead to reduce network traffic.

Load

     field1,

     field2,

     field3

from <>

where  NOT ( isnull(field1) or isnull(field2) or isnull(field3) ) ;

Not applicable
Author

Hi,

assume that

If you have null values in salesValue filed then use this


Load *,

Alt(SalesValue,0) as Sales_Value

from tablename;