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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
alexjesplata
Contributor
Contributor

Transform data values

Hi I am new to Qlik Sense. 

I uploaded a csv file for hospitalizations, there are some values across different  columns that appear as -9999 and would like to convert them to 0. 

In SQL I would have used the CASE statement to do this. How could I do it in the data load editor script? 

Thanks

Labels (1)
1 Solution

Accepted Solutions
avinashelite

Try like this 

If(Column_name=-9999,0,Column_name) as Column_name

View solution in original post

1 Reply
avinashelite

Try like this 

If(Column_name=-9999,0,Column_name) as Column_name