Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Create Double Headers in Excel

BRRLL99
11 - Bolide

Hi

I have following headers have been generated in Alteryx
NOTE: random data has been used

DR/CRCOUNT CODEGROUP MEMBRCHSERIALSXXRRYAMOUNTDATEITEMCODECTCDGMABBRCH_SERIAL_SXX_M1M2M3
76360229577699540926261012-2-23607717199HHRH   586970955
31762453514677183590665112-3-23193598283HHRH895794101600550168

 

 

In the Excel output I was looking for ( Excel output should have exact header output)

   Acc NO  TransactionTransaction S/ETRSSAssociate data   
DR/CRCOUNT CODEGROUP MEMBRCHSERIALSXXRRYAMOUNTDATEITEMCODECTCDGMABBRCH_SERIAL_SXX_M1M2M3
94717386082416371191080012-2-23572419589HHRH   112986893
69363326530796973636198512-3-23327255151HHRH285620164759952341
3 REPLIES 3
cjaneczko
13 - Pulsar

Easiest way to do this is create a template in excel and save it, provided that the very first header row is always in the same spot. Then have Alteryx start its output on Row 2 with the next header. Set the output to preserve formatting and set the range to start from A2 onward. 

 

There are other ways to go about it, but this will be the simplest. 

BRRLL99
11 - Bolide

demand wise i have create multiple files in a day.

 

can please show other models?

cjaneczko
13 - Pulsar

Create a text input with the first header. Use a union tool to union the first header, second header, and then the final data. In the Union tool, select field position instead of common field names. On the output tick the box that says to ignore the field names. 

 

image.pngimage.png

Labels