Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Pivoting data set with line items

dshay250
5 - Atom

Hi, 

 

I have a dataset that we need to pivot that looks like this :

 

JSON_NameJSON_ValueString
0.id987005
0.statusdraft
0.ship-to-attentionPeter Pan
0.total20000
0.department.name001 - Finance
0.requisition-lines.0.line-num1
0.requisition-lines.1.line-num2
0.requisition-lines.2.line-num3

 

And the result needs to look like this :

 
0.id0.status0.ship-to-attention0.total0.department.namerequisition-lines.line-num
      
987005draftPeter Pan20000001 - Finance1
987005draftPeter Pan20000001 - Finance2
987005draftPeter Pan20000001 - Finance3
 

 

See attached spreadsheet, but essentially each field must be in a column and the requisition lines need to be in one column.

How do we achieve that?

 

Thx a mil,

 

dshay

 

 

 

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @dshay250, I'd try posting this in the designer question board more people will see your question :)  Alteryx Designer Discussions - Alteryx Community

Felipe_Ribeir0
16 - Nebula

Hi @dshay250 

 

Too much time has passed, but here is one way of doing this 😅

Felipe_Ribeir0_0-1668549061283.png

 

Labels