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

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