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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
jkmpremaj
Partner - Contributor
Partner - Contributor

Handling Null and space

Hi,

I have below table in Extract and handling nulls using mapping load.

Map_Null

Mapping LOAD

Null(),''

Autogenerate 1;

Map * using Map_Null;

Customer:

Load

Name,

Address,

DOB

from Customer.xlsx;

When I come to transfrom and do date transformation for DOB, again the space are getting converted to null.

Customer:

Load

Name,

Address,

Date(DOB,'MM/DD/YYYY') as Cust_DOB

from Customer.qvd;

Is there a way to keep space apart from using some if conditions like below?

if(DOB='',DOB,Date(DOB,'MM/DD/YYYY') ) as Cust_DOB

Also I don't want to use NULLASValue as the fields to be transformed are in large numbers.

1 Reply
marcus_sommer

You could try it with: alt(Date(DOB,'MM/DD/YYYY'), DOB)

- Marcus