Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Perform operation or modify fields on load

Hi,

we wanted to know that can we perform operation on fileds while loading.

example:

suppose i have a table with 3 columns like

user:

user_id      user_name   user_salary

anjanemp_apt   anjan           20k

kumaremp_apt kumar          30k

and so on.

now i want to load user_id without "_apt"

like

user:

load purgechar(user_id,'_apt') as [user_id1],user_name.user_salary

from user

please advice,

thanks in advance.

4 Replies
Anonymous
Not applicable
Author

Hi

In the script level use like this

Remove(user_id,'_apt','') as User_Id

Not applicable
Author

yes, after load we can do that,

But  wanted to do it at load itself , is that possible?

thanks

marcus_sommer

A transformation like Replace(user_id,'_apt','') as User_Id could be done directly within the first load.

- Marcus

Anonymous
Not applicable
Author

Hi,

u can do it in the script level