Forum Discussion
Stop Table Fields From Being Sorted Alphabetically?
All,
In the Report View... The side bar with Table Fields alphabetizes a table's fields.
Is there any way to have PBI not sort the fields into alphabetical order, but leave them in the order in which they appear within the source table?
Hope that makes sense.
Thanks for any insight.
Jase.
As far as I'm aware this is not an option currently in Power BI. As a workaround, you could try adding a number to the beginning of your field names so they they appear in proper order.
You can vote on this idea to allow us to control sorting order in a future update: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/18355429-use-field-order-as-ordered-in-source-query
4 Replies
- jdbuchanan71Super User
If you add an index column to the source table then under modeling, sort your display column by the index column that will carry over to your report.
- Jase71dsAdvocate I
That is a way of sorting the records (rows) in a table.
I'm referring to the fields (column headings).
- CmcmahanResident Rockstar
As far as I'm aware this is not an option currently in Power BI. As a workaround, you could try adding a number to the beginning of your field names so they they appear in proper order.
You can vote on this idea to allow us to control sorting order in a future update: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/18355429-use-field-order-as-ordered-in-source-query