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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
batranikhil
Frequent Visitor

Prevent Table Columns from Auto Sorting in Data View

Hi, 

 

I'm building a report based on some survey data, and went through the process of ordering all columns in "Transform Data". But when I came to the main view to build the report, everything was sorted Alphabetically in Data View on the right hand side. 

 

I couldn't find any option to prevent it from happening. 

 

e.g. as seen in the Screenshot, the first few collumns in the table are Respondent ID, Country, S1, Decision Maker and so on. Whereas, if you look at the right in Data View, its arranged everything alphabetically -  starting with 5G, 5G Network Slicing, and so on. Ideally, I want the Columns in Data view to mantain the same order as in the original table.  

 

Screenshot 2023-07-06 180636.jpg

 

Fairly new to all PowerBI, so appreciate all the help. 

 

Thanks.  

2 REPLIES 2
mahenkj2
Solution Sage
Solution Sage

hi @batranikhil 

 

When you are building report, why concerned about Data view? You can sort as needed in the report visual. I see not much need to go through to that.

 

Hope it helps.

daanhumble
Microsoft Employee
Microsoft Employee

Hi @batranikhil,

 

Tables and columns in Power BI Desktop are by default sorted alphabetically. The custom order that you made in Power Query (or the order that came from the source system for that matter) will not propagate to the datamodel. If you want to enforce a certain order you'll have to rename the columns (for example by adding a prefix) to follow that logic.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors