Alteryx Designer Desktop Discussions

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

How to filter sheet name of File 1 based on output of File 2?

Sudeshna003
5 - Atom

Hello Community

 

Step 1 : I have an excel file from where I am getting the value of Previous year.

Step 2 : I have another file where there are year specific data in the sheets and the sheet names are like 2023, 2022, 2021...

 

I want to read the specific sheet from Step 2 which matches Previous year' value from Step 1. How do I achieve this?

 

I have tried using Join tool but it fails since Step 2 is a list and Step 1 is a string.

 

Any help is greatly appreciated :)

3 REPLIES 3
Clifford_Coon
11 - Bolide

I've had good results building out the file name including the sheet name and using dynamic input using the triple pipe "|||" as a separator before the sheet name.

 

Example:

Annotation 2023-03-27 101858.jpg

Clifford_Coon
11 - Bolide

BTW: get sheet name is a macro I use here but isn't required.

binuacs
20 - Arcturus

@Sudeshna003 One way of doing this with the batch macro

binuacs_0-1679927212081.png

 

Labels