Hello; I need to add heading lines to my excel output. I am able to union together the two files however, my column headings appear in row one, then the 3 heading lines, and then my data. Any thoughts on the easiest method to move my column headings to the row after the heading lines? Seems very simple but sometimes simple things can be complicated. Any thoughts are appreciated. Thanks. Best regards Baryon
Solved! Go to Solution.
Can you post example files/an example of the output you're trying to achieve?
I assume you can just use multiple inputs and unions by record position or the reporting tools to achieve this. See the below link for an example using reporting tools:
Thank you your solution was brilliant. However the problem I am having is in alteryx my output looks like this
Record # Location Total Risk
1 Internal Audit
2 Risk Analysis
3 Demand Planning
4-60 DATA
When I download to excel i get
Location Total Risk
Internal Audit
Risk Analysis
Demand Planning
DATA
In other words the column headings in alteryx are showing as the first row in my excel file, then the 3 lines of report heading and then the data or report body.
I cannot manipulate (move) the column headings row down in alteryx as they do not show up as a record ID.
Hope this is helpful.
Signed Atom
When you import the data using an input data tool, check the box that says "First Row Contains Data." Alteryx will create a placeholder field name and will read in all records as data. You can then manipulate and move the data as shown above.
Okay, I got the order right but I'm still getting the column headings appearing as the first line of the excel output. Is there a way to output to excel w/o picking up the column headings? It seems like alteryx at times does not play nice with excel. Perhaps another file format is the answer.
Are you able to post a sample of the data you're working with? This would help in coming up with a solution that works.
I'm thinking you may need to use the reporting tools to add a "header" within excel. See the below thread for an example:
Sorry for not getting back to you sooner.
I used your suggestion of using a reporting tool and it seems to work, thank you.
However I have another question or challenge.
When I send my output to the render tool, I have to output to separate excel files.
I need one excel file with multiple tabs.
Is there a wat to accomplish with the render tool?
Kind regards.
Hi @Russell_Jones you can do this if you use a layout tool before your render tool
I've got 2 similar tables which I want to output to their own sheets. The name of the sheet is given by the [Tab] field, and the tables were grouped by this field in the table tool.
The trick is to put a layout tool set up like this: (layout each group of records (with your group ticked), Vertical with Section Break orientation, and your grouping field selected in the bottom drop-down)
This will create a sheet for each record that you've grouped by
Hope that helps,
Ollie