Table.ReorderColumns(table as table, columnOrder as list, optional missingField as nullable number) as table


Returns a table from the input 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).

Reference Data

Power Query M Functions / Table Functions / Table.ReorderColumns