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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
awsiya
Helper I
Helper I

Reordering Columns in Field pane (powerbi Desktop)

Hi,

I require a bit of assistance, hoping it won't require too much of your time.

I have a straightforward table loaded into Power BI Desktop (sourced from a simple Excel file). Once I've imported the data into Power BI, I proceed to reorder the table using the Query Editor. I notice the table rearranges accordingly within the Query Editor. However, I also wish to reorder the same columns in the Field Pane on the right-hand side (within the data view). When attempting to drag columns up or down in the Field Pane, it doesn't allow for this adjustment. How can I resolve this issue so that the Field Pane columns reflect the same order I've arranged them in?

Columns before reordering are
Address | Name | Zip | DOB | Language | Marital | Gender

 

and Columns after reordering should be
Name | DOB | Gender | Marital | Address | Zip | Language

Source (Excel) table example below

AddressNameZipDOBLanguageMaritalGender
MarylandJack256521945EnglishMarriedMALE
New YorkJosh245251972ChineseSingleFEMALE
HawaiiManan352451985JapanesSingleFEMALE
TaxasAbraham365251997SpanishMarriedMALE
WashingtonHussain252252002ArabicMarriedFEMALE






1 ACCEPTED SOLUTION

Hi @awsiya ,

 

The order in the field pane is alphabetical while the order in the data/table view is as in my previous reply.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

4 REPLIES 4
danextian
Super User
Super User

Hi @awsiya ,

While you can re-order the column in the query editor, it doesn't neccessarily affect the orders in the table/data view. The order follows the original order when the data was initially loaded. Columns created after that, either in M or DAX, are added to the rightmost part of the table. If you want to follow the order in the query editor, you will need to  unload the table and then reload it back.  Similar ideas have already been raised which you can vote for.

https://ideas.fabric.microsoft.com/ideas/search-ideas/?q=column%20order 










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
v-cgao-msft
Community Support
Community Support

Hi @awsiya ,

Please use the Table.ReorderColumns() Fuction:

 

= Table.ReorderColumns(PreviousStepsName,{"Name", "DOB", "Gender", "Marital", "Address", "Zip", "Language"})

Table.ReorderColumns - PowerQuery M | Microsoft Learn

 

vcgaomsft_0-1708492813505.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Thanksm but this doens not change the order in Field pane in powerBi (which is on the righ hand side).

Hi @awsiya ,

 

The order in the field pane is alphabetical while the order in the data/table view is as in my previous reply.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.