Alteryx Designer Desktop Discussions

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

Cleaning up horizontal table with repeating columns by date

Trailduck
7 - Meteor

Hi!

 

I have the following table I need to clean up. I've been trying a lot of different approaches without any luck - so I need some help!

 

The dataset is attached and looks like this:

Trailduck_0-1686224444128.png

 

What I want to achieve is to have a date column with all dates, and that the repeating headers are added as single headers with the values from each date unioned.

 

The end result should look like this:

Trailduck_1-1686224620254.png

 

5 REPLIES 5
Christina_H
14 - Magnetar

It could probably do with some tidying up but this works

Christina_H_0-1686226317126.png

 

Trailduck
7 - Meteor

Nice! However, this input will scale to 1000+ dates. Any way to make this model "scalable"?

Christina_H
14 - Magnetar

This should already be scalable?  The filters aren't separating out the 3 dates, they're separating the date row, headers, and data.

Trailduck
7 - Meteor

My bad. Loaded the wrong input. You're a wizard :)

caltang
17 - Castor
17 - Castor

Like this?

 

caltang_0-1686227449057.png

caltang_1-1686227491696.png

 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels