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
Anonymous
Not applicable

Question about sorting

Hi,

 

this is a general question.  I have built a report based on a excel file.  In this excel file, i have a column called "Trades".  In the excel file, these trades (column) are in a specific order, but when i add a table to the Power BI, it seems to want to alphabetically set this column up.  Why?  And specifically cant i have the exact same order as was in the spreadsheet for Trades?  If so, please tell me how to "override" the sorting.

also....  some of these Trades are subs.  See picture.  Is there a way to keep this?  How, please tell me how i can accomplish this.

cnorris3570_0-1649346077380.png

 



thank you in advance.

1 ACCEPTED SOLUTION
3 REPLIES 3
HotChilli
Super User
Super User

An Excel file has a specific order (based on row number).  PowerBi doesn't have a built-in order for data.  You can use alphabetic order in visuals OR make your own order using an Index column and 'sort by column' feature.

--

For sub-trades, you would have to add a column which indicates the parent.  You can do this in Power Query

Anonymous
Not applicable

thank you for your prompt response..... i dont want them to be in alphabetical order so im very interested when you say "make your own order using an Index column and 'sort by column' feature."  Can you explain how to do this from the excel file?  im new.... 🙂

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.