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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bigrods
Helper II
Helper II

Index order changes from Power Query to Table view

Hi,

 

Im Power Query I sorted my data by 2 columns (PatientSite then Event Date) - then I added an Index column.

 

When in Power Query, the index column displays in the right order 1,2,3 etc - but after Applying and viewing the table in Table view, the order shows as 2,3,5,7,8

Is there any reason for this? I don't have any Sort by Column turned on in Table View

 

Power Query:

index 1.png

 

Table View:

index 2.png

 

Many thanks for any help!

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

There's no guarantee of order in the Data view of powerbi.  The order is determined by what's going on behind the scenes i.e. storage algorithms, hidden keys or other mysterious items.

You can order columns using the dropdown at the top of the column for investigative purposes

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

There's no guarantee of order in the Data view of powerbi.  The order is determined by what's going on behind the scenes i.e. storage algorithms, hidden keys or other mysterious items.

You can order columns using the dropdown at the top of the column for investigative purposes

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors