Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Change values in the load

Hi all,

I load several csv.-files and store them into one qvd.

Now I have the problem that there is one row (Town), which has many times two wrong values.

Town:

M

FFM

I want to change them like:

Town:

Munich

Frankfurt

Is this in the load possible?

Thank you for helping!

1 Solution

Accepted Solutions
Not applicable
Author

try to use

pick(match(Town,'M','FFM'),'Munich','Frankfurt') AS TOWN_NEW

View solution in original post

5 Replies
fdelacal
Specialist
Specialist

You can use qcViewer.

you cna change data and name fields.

This is the website to free download.

http://easyqlik.com/download.html

Hope that helps.

tresesco
MVP
MVP

try something like this:

map1:

mapping load * inline [

x, y

M, Munich

FFM, Frankfurt

] ;

TabelName:

Load

          ApplyMap('map1' , Town) as MappedTown

From ....;

Not applicable
Author

try to use

pick(match(Town,'M','FFM'),'Munich','Frankfurt') AS TOWN_NEW

Not applicable
Author

TRY THIS

maptable:

mapping load * inline [

X, Y

M, Munich

FFM, Frankfurt

] ;

MAP Town using  maptable;

load * inline [

Town

M

FFM

] ;

MayilVahanan

Hi

Try like this

Load  If(match(Town,'M','FFM'), Pick(match(Town,'M','FFM'),'Munich','Frankfurt'), Town) as Town;

Load * Inline

[

Town

M,

FFM,

Others

];

hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.