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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors