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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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