Trying to Reorder Columns in Data View in Power BI

Ifad Noor picture Ifad Noor · Jan 24, 2019 · Viewed 8.8k times · Source

Is there a way I can reorder columns in 'Data View' within Power BI? I tried doing it in Power Query first but when the data loads into the table, the columns automatically rearrange.

Answer

Alexis Olson picture Alexis Olson · Jan 24, 2019

I don't know that you can rearrange an existing table, but if you re-create it as a new table, you can pick the order you want.

NewTable =
SELECTCOLUMNS (
    OldTable,
    "Column1", OldTable[Column1],
    "Column2", OldTable[Column2],
    "Column3", OldTable[Column3]
)