Forum Discussion

CraigSchulz's avatar
CraigSchulz
Helper II
7 years ago
Solved

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?

  • LivioLanzo's avatar
    LivioLanzo
    7 years ago

    The argument would be the list within the 'object' field since it contains a list of records  CraigSchulz

4 Replies

    • CraigSchulz's avatar
      CraigSchulz
      Helper 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.

      • LivioLanzo's avatar
        LivioLanzo
        Solution Sage

        The argument would be the list within the 'object' field since it contains a list of records  CraigSchulz