Transform the rows of a table containing name-value pairs into columns using Power Query M function MTable.Transpose(). To achieve this, create a table with the name-value pairs and then transpose it. The resulting output will have the values in columns instead of rows.