Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
prabunakil
Contributor III
Contributor III

Copy the field if value is Null

Capture.JPG

how to write script if the childmaterial field is null, copy the material value to the child material value.

but if child material value field have items, then no need to do anythings.

2 Replies
sunny_talwar

May be this

If(Len(Trim(ChildMaterial)) = 0, Material, ChildMaterial) as ChildMaterial

Marco
Partner - Contributor III
Partner - Contributor III

If( IsNull(ChildMaterial), Material, ChildMaterial)     as ChildMaterial


Marco