Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Dynamically change column headers based on position

Kaseykreid
6 - Meteoroid

Hi all. I have a simple but yet tricky issue I'm trying to figure out. How would I dynamically rename the headers of a dataset to 1,2,3,4,5 based on the position of each of the columns? 

 

For example, I have this dataset that is the output of a python tool:

11.2Unnamed: 0Random TextRandom Text 2Random Text 3
 Hello world123321 
12world Hello987654321

 

The headers of this dataset can be anything. I need to dynamically change those headers to 1, 2, 3, 4, 5 based on where they are positioned like so:

 

12345
 Hello world123321 
12world Hello987654321

 

Any ideas on how I could achieve this?

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@Kaseykreid 
With my favorite Tile tool 😁

0925-Kaseykreid.png

flying008
15 - Aurora

Hi, @Kaseykreid 

 

Another way for you .

 

录制_2024_09_25_15_27_40_146.gif

Labels
Top Solution Authors