In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Use sheetname as a new column

Ylin0615
7 - Meteor

Hi,

 

I am combining all the sheets in one but would like to grab the tab name as a new column "grouping" so that I know which row is from which tab.

How do I attach the sheet name as a new column?

 

 

Thanks,

Betty 

 

 

Ylin0615_0-1684973783607.png

 

2 REPLIES 2
flying008
15 - Aurora

Hi, @Ylin0615 

 

Please see that: 

flying008_0-1684981994059.png

 

flying008_1-1684982277743.png

 

geraldo
13 - Pulsar

@Ylin0615 

you have to do the following steps.
1 - open the spreadsheet that has all the tabs and choose the sheet names option

geraldo_0-1684982739096.png


As it is more than one tab, you will have to make a batch macro that will receive the fullpath and the name of the tab to be able to append it in a single worksheet

Labels
Top Solution Authors