Alteryx Designer Desktop Discussions

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

Want to concatenate the first three rows of data for column header.

spfalconer
6 - Meteoroid

       Wyle                Laura               John

       E                     D                      Q

       Coyote            Palmer             Public

----------------------------------------------------------------

 

I want to concatenate the first three rows so that the full names are in one cell so I can use them as column headers.  

 

What is the best course of action?  

2 REPLIES 2
Kenda
16 - Nebula
16 - Nebula

Hey @spfalconer 

 

Try out the attached workflow. I use the Sample tool to get the first three rows. From there, I use the Summarize tool to concatenate the three records together with a space between each for each field. I then use the Join and Union to get the rest of the records back from the input (making sure the names are the first row) and finally use a Dynamic Rename tool to rename the headers using the first row of data.

 

Capture.PNG

cmcclellan
13 - Pulsar

The columns is a bit tricky - 3 columns would be fine but more would make it trickier.

 

I'd use a multi-row formula like this 

 

2019-02-07 07_18_49-Alteryx Designer x64 - parsing substring to date.yxmd_.png

 

You will need a separate tool for each column

 

Labels