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

Merge rows per header

AvailableUsername
6 - Meteoroid

Hi all,

 

I'm struggling with some organisation under headers. Perhaps an illustration is worth more than words.


What I have:

Header 1 -  data 1 - data 2 - data 3 - X

null         -      null  -  null   -   null    -  Y

null         -      null  -  null  -     null   -  Z

 

What I need:

Header 1 - data 1 - data 2 - data 3 -  X -  Y - Z

 

I would need all the data following on a header to be on the same row as that header.

Could I get some assistance with this? 

Many thanks

5 REPLIES 5
DavidP
17 - Castor
17 - Castor

Could you attach some sample data?

AvailableUsername
6 - Meteoroid

Hi, thanks for the quick reply.

 

Unfortunately I can't without breaking the database TOS, but here's a dummy for this purpose

I would need the 'Datapoint' data to end up in the same rows as the company it's assigned to.

 

DavidP
17 - Castor
17 - Castor

How about this?

 

merge rows.png

estherb47
15 - Aurora
15 - Aurora

Hi @AvailableUsername 

 

Similar approach to @DavidP, I just filled in the Company name and a data Point header with multi-row formula tools. A crosstab tool turns those vertical rows into horizontal.

 

image.pngCheers!

Esther

AvailableUsername
6 - Meteoroid

Thank you all very much. Both solutions work!

 

Have a nice day :)

Labels