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
MFasnacht
New Member

Extract records from a list to table

Hi Everyone

 

I am loading data from the web through a REST API to Power BI Desktop

Now the data is loaded but shown as records in a list. When clicking on a record, it drills down and shows one entry in one row in a table. I can safe every record as a new query but not all in one step.
I want to have the data extracted from the records and to be shown in a table.

In the screenshots you can see how the data is shown as records and how the result should be. 


Could anyone help me fixing this?

 

Thank you for every answer. 

 

 


Bildschirmfoto 2017-07-10 um 16.51.47.pngBildschirmfoto 2017-07-10 um 16.51.34.png

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@MFasnacht

 

@Greg_Deckler is correct. You can directly do it on GUI.

 

Just click "To Table".

 

55.PNG

 

Then you just need to expand those columns.

 

Capture.PNG

 

Regards,

View solution in original post

5 REPLIES 5
v-sihou-msft
Employee
Employee

@MFasnacht

 

@Greg_Deckler is correct. You can directly do it on GUI.

 

Just click "To Table".

 

55.PNG

 

Then you just need to expand those columns.

 

Capture.PNG

 

Regards,

Anonymous
Not applicable

Hi, I had the same problem and this solution has worked and given me all the columns I wanted in a tabular format. However, all the columns have 'Column1.' appended to their original names. I have aboout 100 such columns and would really appreciate a quicker way of getting the original column names back. Thanks, Alisha

Worked very well, thank you very much! 

Works well but ony with uniform records

I have list of records like

{ [Name="Henn", Age = 64], [Name="Peeter", ShueSize=27] }

how to convert into table

({Name, Age, ShueSize}, {{"Henn", 64, null}, {"Ants", null, 27}})

Greg_Deckler
Super User
Super User

I believe what you want is Table.FromList:

https://msdn.microsoft.com/en-us/library/mt260762.aspx

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.