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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
bigrods
Helper III
Helper III

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.