How to move column heading row down in excel output
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Labels:
- Input
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This is how the output appears;
Location
Total Risk
My Company name Internal Audit
Predictive Risk Analysis - September, 2019
Demand Planning Controls
My Company France S.A.S.
10.00
And below is what I am trying to accomplish.
My Company name Internal Audit
Predictive Risk Analysis - September, 2019
Demand Planning Controls
Location
Total Risk
My Company France S.A.S.
10.00
Seems like it should be really easy.
Just trying to move the column headings (row 1) down 4 rows.
I'm writing to an excel file.
Hope this helps and thank you for your help.
Kind regards,
Russell Jones
Business Office USA 216-383-4842
Business Cell USA 216-213-2042
--------------------------------------------------------------------------------------------------------------------------------------------
*************************************************************
Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you, The Lincoln Electric Company
**************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
