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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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.

Labels (1)
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;