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.

Convert column that contains a list of dictionaries into individual columns

alowe
6 - Meteoroid

Hi All - looking for help converting the example below input into the output dynamically as this will need to be done across a variety of fields. Any ideas? Thanks!

 

Input (1 field):

ColumnName1
[{'id': 123456, 'name': 'Example Name', 'parent_id': None, 'parent_department_external_id': None, 'child_ids': [], 'child_department_external_ids': [], 'external_id': ''}]

 

Output (7 fields):

idnameparent_idparent_department_external_idchild_idschild_department_external_idsexternal_id
123456Example NameNoneNone   
2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @alowe 

 

This looks like JSON can you provide sample data with more childs in the dictionary

'child_department_external_ids': []

 

Happy to help : )

Qiu
21 - Polaris
21 - Polaris

@alowe 
If we just want to do parsing. 😁

0312-alowe.PNG

Labels
Top Solution Authors