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: 
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.

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

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