We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to transpose a table

daniilgurin
5 - Atom

Hi everyone.

I have a following task.

Given a table, which is like:

Id09.01.2017under val/upper val10.01.2017under val/upper val
#1333

14

2509
NullNull19Null4
#2589115712
NullNull55Null23

 

Totally, there are many columns with dates headers (~250 pc)

I need to make this table plain and get smt like this:

IDDateUnder valUpper val
109.01.20171419
110.01.201794
1.........
209.01.20171155
210.01.20171223
2.........
............

 

Please help!

5 REPLIES 5
ChrisHe
Alteryx Alumni (Retired)

Hey @daniilgurin ,

 

I'm guessing there may be a simpler way than the way I came up with but it should be totally dynamic for however many columns, ID's or dates that you have! Check out my attached workflow - I've put in a bunch of documentation to help explain but let me know if you have any questions.  And please mark as a solution if this worked so others can find it!

 

-Chris

OllieClarke
15 - Aurora
15 - Aurora

Hi @daniilgurin 

I had a crack at this. My solution feels a bit overcooked, but it does work (assuming you only want the under/over values)

OllieClarke_0-1574433510385.png

Let me know if that helps

 

Ollie

OllieClarke
15 - Aurora
15 - Aurora

Thought I was overcomplicating it. @ChrisHe has the answer you want

fmvizcaino
17 - Castor
17 - Castor

Hi @daniilgurin ,

 

Great challenge you have there. 

Since I was already developing a solution, I went through and finalize it.

 

fmvizcaino_0-1574434104438.png

 

It is pretty fun to see all these different solutions for the same problem @OllieClarke , @ChrisHe .

 

 

Best,

Fernando V.

daniilgurin
5 - Atom

Guys, thanks for your help! 

Labels
Top Solution Authors