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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.