Free Trial

Alteryx Designer Desktop Discussions

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

Parse question

jillv
7 - Meteor

Hi folks,

 

What is the simplest and easiest way to remove the "0.data." and move the numbers to a separate column?

thank you!

 

Name
0.data.1.figi
0.data.2.name
0.data.3.ticker
0.data.4.exchCode
0.data.5.compositeFIGI
0.data.6.securityType
0.data.7.marketSector
0.data.8.shareClassFIGI
0.data.9.securityType2
0.data.10.securityDescription

 

expected

NameGroup
figi1
name2
ticker3
exchCode4
compositeFIGI5
securityType6
marketSector7
shareClassFIGI8
securityType29
securityDescription10
5 REPLIES 5
Felipe_Ribeir0
16 - Nebula

Hi @jillv 

 

One way of doing this

 

Felipe_Ribeir0_0-1675035154932.png

 

flying008
15 - Aurora

Hi, @jillv 

 

Parse by RegEx for you:

flying008_0-1675039264934.png

 

Raj
16 - Nebula

This can be done like this as well without writing any expression,I think this is simplest in this case

Raj_0-1675056098403.png

 

grazitti_sapna
17 - Castor

@jillv , Here are 2 ways to do it with regex and text to columns tool. You can try out any you consider simple.

Sapna Gupta
Qiu
21 - Polaris
21 - Polaris

@jillv 
The format you have is a typical JSON format, and you only have the JSON_Name column and you should have also JSON_ValueString column.

We have a weekly challenge which has shown how to parse the data. 😁

https://community.alteryx.com/t5/Weekly-Challenge/Challenge-346-Map-Messi-and-Ronaldo-s-Goals-Part-1...
Capture1AA.PNG

 

Labels
Top Solution Authors