Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
dineshm030
Creator III
Creator III

Populate the Value to Null

Hi All,

I want to set the value for the NULL. Kindly help me out. For "-", need to set as 4 for CPAPotential field.

dineshm030_0-1630050709507.png

Thanks & Regards,

Dinesh Kumar.

Labels (3)
3 Replies
JuanGerardo
Partner - Specialist
Partner - Specialist

Hi @dineshm030, I recommend to use the Coalesce() function, for example: Coalesce(CPAPotential, 4)

JG

MayilVahanan

Hi 

Try like below

Alt(CPAPotential, 4) <-- if CPAPotential is numeric

https://help.qlik.com/en-US/sense/May2021/Subsystems/Hub/Content/Sense_Hub/Scripting/ConditionalFunc...

 

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
JuanGerardo
Partner - Specialist
Partner - Specialist

@MayilVahanan is right as Coalesce() function is not in QlikView. I didn't notice this is not a Qlik Sense thread 😬.

BTW, in case CPAPotential were not numeric, you could use Match() instead.

JG