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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Apply map

we have data like

1

2

3

I want to show

P1

P2

P3

1 Solution

Accepted Solutions
Not applicable
Author

Hi ,

look at this-

TEST1:

LOAD * INLINE

[ Field

1

2

3

];

MAP:

mapping LOAD * INLINE

[ Field,FiledVAlue

1,P1

2,P2

3,P3

];

TEST:

LOAD

ApplyMap('MAP',Field) as Field1

Resident TEST1;

DROP Table TEST1;

View solution in original post

2 Replies
senpradip007
Specialist III
Specialist III

You can use like

'P'&[Your Field] as New_Field

Not applicable
Author

Hi ,

look at this-

TEST1:

LOAD * INLINE

[ Field

1

2

3

];

MAP:

mapping LOAD * INLINE

[ Field,FiledVAlue

1,P1

2,P2

3,P3

];

TEST:

LOAD

ApplyMap('MAP',Field) as Field1

Resident TEST1;

DROP Table TEST1;