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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

What is 'Map x using Mapname'?

How is Map .. using Mapname is different from Applymap() and where it will be feasible?

1 Solution

Accepted Solutions
marcus_sommer

This example will rename all loaded fields which are in the mapping-table with a new Name:

MapReNameFields:

Mapping Load * Inline [

OldFieldName, NewFieldName

x, X

y, Y

z, Z

];

rename fields using MapReNameFields;

- Marcus

View solution in original post

3 Replies
marcus_sommer

Applymap() mapped values within the load-statement and Map .. using Mapname is a stand-alone statement which could be used for renaming fields/tables or setting tags - you will find various examples within help.

- Marcus

Not applicable
Author

I failed to properly apprehend from what was there in Help. Can there be an explanation with some small example for Map x ..using mapname, please? I have understood Applymap() but not able to get the other

marcus_sommer

This example will rename all loaded fields which are in the mapping-table with a new Name:

MapReNameFields:

Mapping Load * Inline [

OldFieldName, NewFieldName

x, X

y, Y

z, Z

];

rename fields using MapReNameFields;

- Marcus