Alteryx Designer Desktop Discussions

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

Cross Tab columns with ID Numbers, Values and Date

Kutay
7 - Meteor

Hi everybody,

 

I received a  dataset with the following order below. 

 

RecordJSON NameJSON Value String
10.adtagID6565
20.distinctpageseen1
30.firsttimeseen2020-02-05
40.lasttimeseen2020-02-05
51.adtagID6587
61.distinctpageseen1
71.firsttimeseen2020-02-05
81.lasttimeseen2020-02-05
91.profiletime1

 

I would like to convert it into sth like this:

 

RecordAdTagIDDistinctpageseenfirsttimeseenlasttimeseenprofiletime
1656512020-05-052020-05-05N/A
2658712020-05-052020-05-051

 

I tried to use couple of functions but not able to solve. As a new user I need some help:)

 

 

Thanks in advance.

Kutay

4 REPLIES 4
DavidP
17 - Castor
17 - Castor

The key is to separate JSON Name with Text to columns, then crosstab

 

DavidP_0-1584637966269.png

 

JosephSerpis
17 - Castor
17 - Castor

Hi @Kutay I mocked up a workflow that shows how to do this.

Kutay
7 - Meteor

Hi David,

 

Thank you so much for your help. I tried and it worked perfectly!

 

Kind Regards,

Kutay

Kutay
7 - Meteor

Thank you so much Joseph! I tried your solution as well and helped me a lot too!

 

Kind Regards,

Kutay

Labels