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: 
EllenBerden
Contributor
Contributor

rename value

I have one extreme outlier in my datafile. 

When age is unknown, my datafiles mark them down as 0. How can I recode these values into "-" or "unknown", so that they do not have an effect on my age mean?

 

Labels (3)
1 Solution

Accepted Solutions
marcus_sommer

Maybe with:

if(value = 0, null(), value) as value

- Marcus

View solution in original post

2 Replies
Anil_Babu_Samineni

check once : https://help.qlik.com/en-US/sense/November2020/Subsystems/Hub/Content/Sense_Hub/Scripting/null-value... 

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
marcus_sommer

Maybe with:

if(value = 0, null(), value) as value

- Marcus