Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Jase71ds
Advocate I
Advocate I

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.

1 ACCEPTED SOLUTION

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-order...

View solution in original post

4 REPLIES 4
jdbuchanan71
Super User
Super 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.  

That is a way of sorting the records (rows) in a table.

I'm referring to the fields (column headings).

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-order...

Ah... Thank you for this link. I voted.

Yes, the only way I could think to do it was to prefix alpha/numeric to the column names. Not a very elegant solution, but it will have to do for now.

Thanks again.

Jase.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.