Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Grab mapping out of select Tool to trace column Renaming

$
0
0

Hello everyone. I have a simple question that I am hoping someone can answer!


Is there a way to maintain the mapping that occurs when using the select tool?  What I would like is an output dataset that shows "Column #1 used to be named A and it was renamed too Hello".  This way I could store in a database the translation of data that is occuring by a select clause within Alteryx.

 

Attached is an Example workflow.  In the workflow I have the dataset 

ABC
123

 

 

I rename column A into A1PZB.  I rename column B into A1PBP  and I rename column C into A1PBI.   Unfortunately I also change the order of the variables so that the old variable C is now in teh first position. As such my data becomes like below.

 

A1PBIA1P2BA1PBP
312

 

 

What I want is a dataset that shows this translation for database storage. So I need this...

 

Old Column NameOld Column PositionNew Column NameNew Column Position
A1A1P2B1
B2A1PBP2
C3A1PBI3

 

 

Thank you in advance for your help.


Viewing all articles
Browse latest Browse all 4999