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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Morgana_2022
Helper I
Helper I

Change the sort order of data in a column

Hello everybody,
I have a powerBI table object, with a column populated by the following entries in alphabetical order:

  • Certification
  • Dictionaries
  • Hed
  • Primary
  • Secondary
  • Tutoring

Instead, I have to sort the entries according to this (non-alphabetical) order requested by my client:

  • Secondary
  • Primary
  • Dictionaries
  • Certification
  • Tutoring
  • Hed

How can I do?
Thanks to whoever will answer!

1 ACCEPTED SOLUTION
DimaMD
Solution Sage
Solution Sage

Hi, @Morgana_2022 You can sort in the table as follows.
1 Create a table in Power bi, with serial numbers
Screenshot_16.jpg
2 Click on your column, select Column Tools and perform these actions
Screenshot_17.jpg
you also need to bind this table to the main table, as a result, your visualization should sort as you wish
Screenshot_17.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi  @Morgana_2022 ,

Here are the steps you can follow:

1. Power Query – Add Column – Column From Examples -- Custom rules.

vyangliumsft_0-1670210546288.png

2. Choose [Column] -- Column tools – Sort vy columhn – [Index] – Choose Sort ascending.

vyangliumsft_1-1670210546290.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

DimaMD
Solution Sage
Solution Sage

Hi, @Morgana_2022 You can sort in the table as follows.
1 Create a table in Power bi, with serial numbers
Screenshot_16.jpg
2 Click on your column, select Column Tools and perform these actions
Screenshot_17.jpg
you also need to bind this table to the main table, as a result, your visualization should sort as you wish
Screenshot_17.jpg


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.