Forum Discussion
Expand Column Containing list of Records from API Call
First, I know there are similar threads, but I did not see any just like this. Following an API call I have this:
What command or function should I use in order to return a table where the records have been expanded to include all the fields in a record? If I click on list, I get the following:
I attenpted to us Table.ExpandRecordColumn but ended up with an error along the line of "Type Error - could not convert type list to type table.
What should I use?
The argument would be the list within the 'object' field since it contains a list of records CraigSchulz
4 Replies
- LivioLanzoSolution Sage
From what I understand, you would use Table.FromRecords function in order to convert a list of records into a table
- CraigSchulzHelper II
Thanks, that seems right. I'm trying it, but what is the argument that I should pass to Table.FromRecords(<records as list>)? The Syntax help in Microsoft Docs isn't very helpful.
- LivioLanzoSolution Sage
The argument would be the list within the 'object' field since it contains a list of records CraigSchulz