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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Loading Text/Data without specific characters

Hi,

I've got a file with systems and their name.

Name     System

--------------------------

Name1 - System1

Name2 - System2

Name3 - New_System3

New Systems are labled as New_System e.g. Name3 - New_System3

I want to load the data without the "New_". -> Name - System3

Can anyone help?

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Try this

[Data]:

LOAD

     REPLACE(System,'New_','')     AS System;

...

Regards,

Sokkorn Cheav

View solution in original post

3 Replies
Sokkorn
Master
Master

Hi,

Try this

[Data]:

LOAD

     REPLACE(System,'New_','')     AS System;

...

Regards,

Sokkorn Cheav

Not applicable
Author

Hi,

Thanks!

and what could I do if I just want to load the "old Systems" and no new Systems?

Sokkorn
Master
Master

Hi,

Let look around this data

IDSystem
1Name1 - System1
2Name2 - System2
3Name3 - New_System3

What you want is load only record that have no New word in field System. Am I right?

If like this, then

[Data]:

LOAD

     ID,

     System

RESIDENT

WHERE NOT MATCH(System,'*New*');

Regards,

Sokkorn Cheav