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: 
bilionut
Contributor III
Contributor III

filter load table

Hi,

I guess it's elementary stuff but I fail to find the correct solution

From a table like this:

KEYName
1Abhgh UIUjkj#
2Akljhka
3JHKGHJG #
4Kljijihh#
5Abhgh


I want to load only the rows that contain the '#' character in field Name


Thanks,

Ionut

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Is '#' always the last character, when contained in the record?

LOAD KEY, Name FROM Table.xls WHERE RIGHT(Name,1) = '#';

or use a search

LOAD KEY, Name FROM Table.xls WHERE Name LIKE '*#*';

View solution in original post

2 Replies
swuehl
MVP
MVP

Is '#' always the last character, when contained in the record?

LOAD KEY, Name FROM Table.xls WHERE RIGHT(Name,1) = '#';

or use a search

LOAD KEY, Name FROM Table.xls WHERE Name LIKE '*#*';

its_anandrjs
Champion III
Champion III

You can use Wildmatch() also see the load script

Source:

LOAD * Inline

[

KEY, Name

1, Abhgh UIUjkj#

2, Akljhka

3, JHKGHJG #

4, Kljijihh#

5, Abhgh

];

NewTable:

NoConcatenate

LOAD

KEY,Name

Resident Source

WHERE WildMatch(Name,'*#*');

DROP Table Source;