Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
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.