Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Truffler
Contributor II
Contributor II

Replacing blank values with values from another table

example.pngI would like to create a column where if the value in column z is blank, it replaces it with the value in column y. If column y is blank then the value from column x is used.

Any ideas how to do this?

 

Labels (1)
2 Replies
dplr-rn
Partner - Master III
Partner - Master III

what does your undelying data look like.

options depends on that

mfarsln
Creator II
Creator II

Hi,

If your columns are comes from same table or associated by key column, then you can use below expression to create a new column.

if(
len(if(len(z)=0,y,z))=0,x,if(len(z)=0,y,z)
)