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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

if null copy data from another column

Company Company Name
apple  
Google  
Facebook  
  Facebook
  Apple
  Apple
Nil Nil
apple  
  Google

 

I have a table like this i want to integrate this as a single column called "Company" during Data load

Company
apple
Google
Facebook
Facebook
Apple
Apple
Nil
apple
Google
1 Solution

Accepted Solutions
Or
MVP
MVP

Check that:

1) The values are actually null, rather than a blank string. If they're a blank string, you can use if(Len(Company)=0,[Company Name],Company)

2) These are the actual values in your data source, that is - you are actually getting rows in your data source where one field is null (or blank) and the other has values.

View solution in original post

3 Replies
Or
MVP
MVP

Coalesce(Company,[Company Name]) as Company_New

Qlikuser09
Creator II
Creator II
Author

i get the values only from Company, and not from the company name (Compnay_New is just the replica of Company)

Or
MVP
MVP

Check that:

1) The values are actually null, rather than a blank string. If they're a blank string, you can use if(Len(Company)=0,[Company Name],Company)

2) These are the actual values in your data source, that is - you are actually getting rows in your data source where one field is null (or blank) and the other has values.