Table.FromRows

 

Creates a table from the list rows where each element of the list is an inner list that contains the column values for a single row. An optional list of column names, a table type, or a number of columns could be provided for columns.

Table.FromRows(rows as list, optional columns as any) as table  

ArgumentDescription
rowsThe List to convert.
optional columnsAn optional list of column names, or a table type.
Table.FromRows({{1, "Bob", "123-4567"} , {2, "Jim", "987-6543"}}, {"CustomerID ", "Name", "Phone"})  

CustomerIDNamePhone
1Bob123-4567
2Jim987-6543
Show: