I am needing to output segments of a table to separate tabs within one Excel file.
Here is an example of the table where I need the data to output to a separate tab based on the Tab Name field.
Vehicle# | State | Tab Name |
CCAB9 | CA | 327 |
CCAG3 | CA | 319 |
CCAG3 | CA | 319 |
JCEA1 | CA | 324 |
JCEA4 | TX | 335 |
JCEA5 | CA | 318 |
JPFA9 | CA | 320 |
I have attempted to do this with the following configuration, but am receiving an error to specify sheet name. I have specified a sheet name of Sheet1.
Solved! Go to Solution.
Can you show the entire configuration box? Or even better, attach a copy of the yxmd file? If you don't have a sheet name in the initial file specification, you could get that error even if you are replacing the sheet name.
The attached workflow does save the data in separate tabs. Just as a test, I temporarily removed "|||Sheet1" from the file name and did get the error you described.
Hi EW and TonyA,
I'm sorry I am just seeing your responses...
Here is a screenshot of the entire configuration box. As you suggested EW I selected "Change Entire File Path" and still received the same error message.
Thank echuong1. I'll be able to use that in the future. I'm attempting to create a separate tab within the same file.
Hey @sonseeahray - try using the formula tool to create a full path with the filename and tab name, like
"H:\Alteryx Test Output.xlsx|||"+tostring([Tab Name])
(or changing Tab Name to a string first as in my original solution)
and using that as the Field Containing Filename or Part of Filename with Change Entire File Path. It looks like you're just using the Tab Name in your screenshot.
Thank you @EW! That works perfectly!!
Trying to do this writing to SharePoint. It writes the first sheet, so my connection is fine. But gives me the Error Win32 Error 1175 for my other two sheets. I'm using a Formula Tool to pass the sheet name to my 3 output tools.