Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Mapping Column names to Column names

Hi,

using "apply map" to map the column names.Please help me to undersand with examples

3 Replies
maxgro
MVP
MVP

do you mean renaming column names?

if yes

How to Rename Fields

oknotsen
Master III
Master III

Could you please give an example of what you are trying to achieve?

Please include example data / source data.

May you live in interesting times!
maxgro
MVP
MVP

TableA:

load

  rowno() as field1,

  rand()*100 as field2,

  1 as field3

AutoGenerate  100;


if you stop the script here you get

1.jpg

FieldNameMap:

Mapping Load * inline [

OldFieldName, NewFieldName

field1, newfield1

field2, newfield2

];

Rename Fields using FieldNameMap;


2.jpg