Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Syndicate_Admin
Administrator
Administrator

Handle Array in column

Hi Experts,
I have a "Label" and "Value" columns in my dataflow. Most of the labels and their values are type strings.

However, there are few values which comes in as [List]. The [list] array has ONLY "one" string inside.

Is there a way I can expand the [list] array within the value column, which gets applied to each value which has [list] type?? so that the string inside array becomes the value?

 

gujjar_0-1639017291176.png

 

Thanks

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.TransformColumns(PreviousStepName,{"fields.1.value",each if _ is list then _{0} else _})

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.TransformColumns(PreviousStepName,{"fields.1.value",each if _ is list then _{0} else _})

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors