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

Alteryx Designer Desktop Discussions

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

Transposing a Unique Value per Group By

cmyer
6 - Meteoroid

Hi Alteryx Users, 

 

I currently have a data set the looks like this:

 

Name        Status      Time      Location 

Data 1          Y               12            45

Data 1          Y               12            45

Data 1          Y               12            45

Data 2          Y               14            60

Data 2          Y               14            60

Data 3          Y               14            60

 

I would like to transpose the first unique value of each group leaving blank spaces in between (not NULLs):

 

Name        Status      Time      Location    Time Ext     Location Ext 

Data 1          Y               12            45               12                    45

Data 1          Y               12            45

Data 1          Y               12            45

Data 2          Y               14            60               14                    60

Data 2          Y               14            60

Data 3          Y               14            60

 

Any Ideas on how I can achieve this?

5 REPLIES 5
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @cmyer,

 

The only way to store the empty cells in Time Ext and Location Ext as empty rather than Null would be to store the fields as a string.

 

Kind regards,

Jonathan

Jonathan-Sherman
15 - Aurora
15 - Aurora

But you could attach just to the first one by identifying the record and joining to only that record, subsequently unioning all the data back together!

 

JonathanSherman_0-1636042611132.png

 

 

Kind regards,

Jonathan

cmyer
6 - Meteoroid

Hi Jonathon 

 

Assuming I left NULLS how can I achieve the transpose? 

cmyer
6 - Meteoroid
THANKS 🙂
Jonathan-Sherman
15 - Aurora
15 - Aurora

No problem! 😀

Labels
Top Solution Authors