Missed the Q4 Fall Release Product Update? Watch the on-demand webinar for more info on the latest in Designer 24.2, Auto Insights Magic Reports, and more!
Free Trial

Alteryx Designer Desktop Discussions

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

Maintain excel tab name in the output

lelecardozo
5 - Atom

Hello everyone,

 

i have 2 separated inputs for this file, which is working fine, but i want to add a column reflecting the tab name taken from the excel input.

 

So the last column (Tab name) should look like something like this:

 

STATEParty_IdSubfile date auditCompliance IdAdd_remove sheet date auditIn subfileSame Date AuditTab name
ERISAPWC8d4be98c-a17a-4f3e-ae47-481312657291 27/1/2020YesNoAddRemoveJurisdiction 11132023
GAOCPA4331af82-e2e6-4c58-9c91-7d9703727c077/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPA78a421c6-c754-4963-824a-2d7b22992c407/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPA79a5f774-e9d1-422e-a59e-a76853ecaa6f7/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPAd17efb67-c4b0-402b-9290-7c83ab7e9ea17/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPAf4c4e8af-bb3b-4de1-a020-78821bae92a87/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPAf92c9431-a07f-4058-a666-dd75c6b16c027/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023
GAOCPAff683926-dfd4-4f13-b76a-37e01ccccb3a7/1/202147/1/2021YesYesAddRemoveJurisdiction 11152023

 

Hope i explained my self correctly,

 

Thank you,

 

5 REPLIES 5
JosephSerpis
17 - Castor
17 - Castor

Hi @lelecardozo you have the option in each of your Input data tools to output the filename as a field this in the configuration window of the Input data tool. You will need to the parse the sheet name if that is only information you need from the filepath however that should be reltively easy as the sheet name usually has ||| before it so a Text to columns tools should suffice.

lelecardozo
5 - Atom

So when i try to set both "output file name as field" to either File name only or Full path

 

I lose the information gathered from the second conteiner (GAO) (no error pops up)

 

also, where should i put the Text to columns tool? i tried next to the input, and i couldnt filter by |||

 

 

 

 

JosephSerpis
17 - Castor
17 - Castor

Hi @lelecardozo you can put a text to column tool wherever you want in your workflow try | instead on the file name. Selecting the option should not stop your data running correctly. However you have not included your data in your workflow that you attached so cannot mock up a example in your flow. You need to export your workflow as a Alteryx package (Options - Export Workflow). However make sure you only include mock data and never any real data on the Alteryx community.

lelecardozo
5 - Atom

I have attached the WF package, thank you for all the help!

binuacs
21 - Polaris

@lelecardozo added the tab name in your workflow, you need to add a filter tool and remove all the unwanted rows from your final output

image.png

Labels
Top Solution Authors