HI All,
I have a various report designed in Alteryx and would like to combine all reports and output as one excel but with different tab.
I am able to use Union Tools and then Render tools + select section breaks between records, however i find that I can't name the tab (they are named as sheet 1 sheet 2 sheet 3 etc) and sequence of tab is not set according to the union sequence 1,2,3.
Is that a way I can set the sequence of the tab and rename the tab? I also tried to use output tool but seems i am not able to combine three table into one output?
Also attach the desire output for quick reference. Thanks!
Solved! Go to Solution.
Hey @newlearner123
You can do this with the 'Block Until Done' tool. Click the search bar in the top right corner of Altreyx Designer and type 'Block'.
Block Until Done has three outgoing ports labelled 1, 2 and 3 (1 is executed first, 2 second etc). You can then choose what data goes to which Excel Sheet using 3 separate Output tools.
Give that a try 🙂
Not sure if you can rename the sheet name.
Below how you can generate multiple sheets
Attached the workflow,
Hope this helps!
Regards,
Thanks Mhey01,
I am very new to Alteryx, do you mind modified the workflow for me for quick reference?
As there is only 3 labels in Block until done tools, if I have more than 3 tabs would like to create, what should I do?
Thanks in advance
Hi @newlearner123 --
Yes, you can name the tabs, but its not straightforward.
Before your basic table tools add in a formula tool and create a column called Sheetnames. In the fomula, just create a sheetname -- so "Monday". Do this for each table.
In the Basic Table on the bottom where it says For Column Headings -- uncheck Sheetnames..
Add in a layout tool after your report text. Configure as below.
Let me know if this works for you. I currently use this in some of my workflows.
Thanks,
Seth
HI messi007
Thanks for your workflow. May I know the tool "Vertical layout section break" is literally referring to how I organisate the workflow vertically like the yellow arrow?
Hi @newlearner123,
It's not the order of the tools on the workflow but the order of the records (data rows) that come out of your union that will define it.
You'll see on your workflow each branch has a name when going into the union (#1, #2, #3 in this case), you can change the order of these at the bottom of your union tool configuration pane. If you want them in a particular order simply tick "Set a Specific Output Order" and move the #1, #2, #3 up and down using the arrows on the right hand side.
Kind regards,
Jonathan
You are already doing it, Or I misunderstand something.
You want every sheet with the 3 tables together or one table per sheet.
Please see below the union part
Regards,