Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
shamad
Contributor II
Contributor II

Modify field value

Hi All,

I would like to change the value of a field.

Example
I have a table with tree filds Cod_customer f, Type, Name
10, AA, Bart
20, BB, Tony
30, CC, Alain

If cod_cutomer = 30 Then
Type = 'AA'
end if

The new value ist available at all my document.

1 Reply
martin59
Specialist II
Specialist II

Hi,

In your QV load script, you have to do this :

MyTable:
LOAD Cod_customer,
if(Cod_customer=30,'AA',Type) as Type,
Name
FROM MyFic;