Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Dolly123
Creator II
Creator II

Ques

Qlikhub_0-1645619839947.png

I have spaces here I want to fill the word , nulls or fill with 0(zero)

1 Solution

Accepted Solutions
micheledenardi
Specialist II
Specialist II

try this:

Load *,
  if(isnull([Liquid Sub]) or trim([Liquid Sub])='',0,[Liquid Sub]) as [Liquid Sub New]
From YourDataSource;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
micheledenardi
Specialist II
Specialist II

try this:

Load *,
  if(isnull([Liquid Sub]) or trim([Liquid Sub])='',0,[Liquid Sub]) as [Liquid Sub New]
From YourDataSource;
Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
micheledenardi
Specialist II
Specialist II

When applicable, please mark the answer as Correct. 

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.