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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
dmxmikey
Creator
Creator

I need to rename 2 separate fields to same name

I have 2 separate fields

status and status1 which i want to rename on output to the same name ie livestatus

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

If both fields are already resident in memory you can't rename either of them to an existing name.

So you have basically two approaches:

  1. Make sure that the fields have the common field name in the corresponding LOAD statement.
  2. Do a RESIDENT load of the relevant table to rename one of the fields during load.

 

View solution in original post

3 Replies
sunny_talwar

Rename them in the script?

dmxmikey
Creator
Creator
Author

thank you, just need script

petter
Partner - Champion III
Partner - Champion III

If both fields are already resident in memory you can't rename either of them to an existing name.

So you have basically two approaches:

  1. Make sure that the fields have the common field name in the corresponding LOAD statement.
  2. Do a RESIDENT load of the relevant table to rename one of the fields during load.