function (table
as table,columnOrder
as list, optionalmissingField
as nullable any) as table
table
, with the columns in the order specified by columnOrder
. Columns that are not specified in the list will not be reordered. If the column doesn't exist, an exception is thrown unless the optional parameter missingField
specifies an alternative (eg. MissingField.UseNull
or MissingField.Ignore
).Table.FromRecords({[CustomerID=1,Name="Bob", Phone="123-4567"]})
Table.FromRecords({[CustomerID=1,Name="Bob", Phone="123-4567"]})