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: 
Anonymous
Not applicable

How do i replace text in a field as Null

Hi,

How do i replace text in a field as Null

Name

John

N/A

N/A

Paul

I want to change the 'N/A's in Name field to NULLS.

Thanks

1 Solution

Accepted Solutions
marcus_sommer

Try: if(Name = 'N/A', null(), Name) as Name

- Marcus

View solution in original post

3 Replies
marcus_sommer

Try: if(Name = 'N/A', null(), Name) as Name

- Marcus

avinashelite

//in front end

If(Name='N/A','',Name)

//in backend

If(Name='N/A','',Name) as Name

Anonymous
Not applicable
Author

Thanks

ARHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!

I was missing the '()' on null()

Thanks.