Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

New to QlikCommunity - Need some help

Hello,

I'm a new user to QlikView and have been reviewing the Community for answers to my current issue:

I'm have a data set that has a "*" as a prefix to the data (IE: *79-XXXXX). In order for me to correctly join this with our other item fields it needs to be stripped of the "*".

My questions:

1) How do I accomplish this?

2) Where do I put this conversion in? Load script or after the data is the QVW?

Thank you-

AJ

1 Solution

Accepted Solutions
swuehl
MVP
MVP

To allow QV to join or link the tables, you need to do this in the load script.

Maybe you could use purgechar() to get rid of the '*' (if you don't have multiple occurences of '*' later on in your field value, like *79-XXXX*Y )

LOAD

purgechar(FIELD,'*') as FIELD,

...

FROM ...

or use mid() function

LOAD

mid(FIELD,2) as FIELD,

...

FROM ...

View solution in original post

2 Replies
swuehl
MVP
MVP

To allow QV to join or link the tables, you need to do this in the load script.

Maybe you could use purgechar() to get rid of the '*' (if you don't have multiple occurences of '*' later on in your field value, like *79-XXXX*Y )

LOAD

purgechar(FIELD,'*') as FIELD,

...

FROM ...

or use mid() function

LOAD

mid(FIELD,2) as FIELD,

...

FROM ...

Not applicable
Author

Swuehl,

The string purgechar worked. Thank you!