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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-yangliu-msft
Community Support
Community Support

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors