Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to get one output workbook file with different tabs

Rajeev18
8 - Asteroid

Hello ,

If there is different input file and want all file into one workbook with different tab, how to achieve the result.

E.g. - Input- File 1,  Input- File 2, Input- File 3 --  Output file  - workbook file with different sheets in it -File 1, File 2 & File 3.

8 REPLIES 8
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Rajeev18,

 

You'd need to union all input files together, create the name of the tab with a formula tool and in the output tool select the checkbox "take file / table name from field". I'll put together an example for you.

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

DanielMS
Alteryx
Alteryx

Hi @Rajeev18,

 

I have attached a workflow that has 3 inputs going to 1 output with 3 sheets in.

 

Hope this helps.

 

Dan

Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @Rajeev18,

 

The example @DanielMS has posted is perfect, the main points to take into consideration is:

 

On the input ensure (5) Output file name as field uses "file name only"

 

image.png

 

 

Ensure the yellow areas have been amended

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

Rajeev18
8 - Asteroid

Hello @DanielMS ,

Could you please share the example in lower version, as am not able to open in my version.
My Installed version -Alteryx Designer 2018.4 x64

Rajeev18_0-1574687171933.png

 

Regards,

Rajeev Jaiswal

Rajeev18
8 - Asteroid

Hello @Jonathan-Sherman ,

Thank you for taking time and replying the query. Unfortunately it did not give the result which i was looking for. 


Example -  Input   ___ File -A , File -B & File -C 

Rajeev18_1-1574689255768.png



Output File requires data from the File A,B & C under different sheet - one Output Workbook  sheet named - File 1, File 2 & File 3.

Rajeev18_0-1574689232017.png

 

Regards,

Rajeev Jaiswal

fmvizcaino
17 - Castor
17 - Castor

Hi @Rajeev18 ,

 

Attached is an example showing how to get this done.

Let me know if that works for you.

 

Best,

Fernando Vizcaino

Rajeev18
8 - Asteroid

Hello @fmvizcaino 

Could you please help me with one more query.

I need output file with multiple sheets and color formatted data based on certain condition. 

Input file 1(Raw Data): From this file I want output file (sheet named as submitted ) with data which should includes data of 1st level Approval status of submitted one and 2nd level Approval status of submitted and completed . Means submitted output file should not include any data of rejected, WIP, In issue, Not Sent. 

Similarly From same Input File 1(Raw Data) :-  one more output file (sheet names as Accepted) with data which should includes data of 1st level Approval status of Accepted and completed one and 2nd level Approval status of Accepted and completed. 

Product IDProduct Name1st level Approval status2nd level Approval status
12345XSubmittedSubmitted
23456YSubmittedCompleted
98766ZAcceptedNot sent
45678ACompletedAccepted
32156BRejectedNo Demand
23457CWIPNot sent
45678WSubmittedIn Issue
12980XAcceptedAccepted
45987YNot sentSubmitted
345678ZAcceptedAccepted
234568QSubmittedSubmitted
245677PIn IssueWIP


Output file 1 ( Sheet named Submitted ) will looks like this: 

Product IDProduct Name1st level Approval status2nd level Approval status
12345XSubmittedSubmitted
23456YSubmittedCompleted
45987YNot RequiredSubmitted
234568QSubmittedSubmitted


 Output file 2 ( Sheet named Accepted ) will looks like this: 

Product IDProduct Name1st level Approval status2nd level Approval status
98766ZAcceptedNot sent
45678ACompletedAccepted
12980XAcceptedAccepted
345678ZAcceptedAccepted

 

Input File 2(New York): - This Input File should come exactly in same format in same output file named as New York with combination of few color formatting .
Like for status - "In transmit ' -  Yellow Colour,   "Accepted"  - Green Colour, "Rejected", "In Issue" and "May get Rejected"  - Red Color in both the approval Column.

Product IDProduct Name1st level Approval statusDate2nd level Approval statusDate
12345MIn Transmit12/13/19Submitted12/13/19
23456NIn Transmit10/19/19Submitted10/19/19
98766ZAccepted12/13/19Not sent12/13/19
45678AAccepted11/25/19Accepted11/25/19
32156BRejected12/13/19Rejected12/13/19
23457CWIP10/29/19In Transmit10/29/19
45678WSubmitted12/11/19In Transmit12/11/19
12980XAccepted12/11/19Accepted12/11/19
45987YRejected12/01/19Submitted12/01/19
345678ZMay get Rejected12/11/19Accepted12/11/19
234568QIn Issue10/27/19Submitted10/27/19
98765sAccepted12/13/19In Transmit12/13/19

 

Output File (New York) - should have this color combination: in same excel workbook under sheet named- New York

Rajeev18_1-1576520736898.png

 

 

Similarly for Input file 3 ( California) & Input File 4 ( San Francisco) - Output file should have same colour combination ( as was done for New York) in the same workbook under sheet name - California & San Francisco .

In addition to that out of the Rejected one from New York , California & San Francisco data , latest rejected data (latest should count should based on current date and Current minus 1 day) i.e. for Today's date (12/13/19) Reject for 12/13/2019 and 12/12/2019 should come into one another sheet name -Rejected status in the same workbook.

Another requirement is that "In Transmit" product status from New York , California & San Francisco data should eliminated from submitted sheet(i.e.which was already extracted as output data sheet name - Submitted). Means submitted sheet should not contain "In transmit"  producdata .


Hope I am able to make you understand what exactly I am looking for, I have attached all the file for reference .


Thank you in advance!

Regards,
Rajeev

Rajeev18
8 - Asteroid

Hello @Jonathan-Sherman  @DanielMS @fmvizcaino 

Please help me with the query


Labels