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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Derek-R
Regular Visitor

Extract data from List value column

Hi All,

 

I have a query which has a column name "Components" and it has List values in it . I want to extract the data from this column so it gets stored in a new column in the query. 

DerekR_0-1686228588302.png

Basicaly I want to extract the data in "name" attribute . How this can be done? Any help will be much appreciated.

Thanks

1 ACCEPTED SOLUTION

Hi @Derek-R ,

 

This is a blog on how to extract values from records and lists, I believe it will be helpful to you.

Extract Values From Records And Lists In Power Query - Master Data & AI Skills (enterprisedna.co)

 

   

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

4 REPLIES 4
ppm1
Solution Sage
Solution Sage

That looks like a record. Try

= Components2{0}[name]

 

Pat

Microsoft Employee

Hi @ppm1 , It's a list. Please see below more screenshots. 

DerekR_1-1686299824803.png

When you click on List then below screen comes up:

DerekR_2-1686299901562.png

DerekR_3-1686299938086.png

 

 

 

Hi @Derek-R ,

 

This is a blog on how to extract values from records and lists, I believe it will be helpful to you.

Extract Values From Records And Lists In Power Query - Master Data & AI Skills (enterprisedna.co)

 

   

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

In the colulmn header, click on the double arrow expand button and "expand to new rows". You should then have a column of Records. Click on the expand button on that column and choose only the name field.

 

Pat

Microsoft Employee

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors