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
Harineeeeeeee
Helper I
Helper I

PowerBI matrix visual drillup sorts automatically by alphabetical order

IMG_6572.jpeg

IMG_6573.jpeg

Hi All,

 

I am using PowerBI matrix visual to show hierarchy level info lets say I have level 1 and level 2 and description for it's corresponding I m using in the matrix visual if I expand the drill down it shows the level 2 if you see in the attached in the image one level drill down M01 first description is desc when I drill up D01 should desc instead it shows alpha which is means it is by default sorting by alphabetical how to make the desc that is first value comes when drilled up 

attaching the images. I tried inscription function which in turn shows empty when drilled up I want the first value to shown 

 

thanks in advance 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Harineeeeeeee 

To control the sorting order in a Power BI matrix when drilling up or down through hierarchy levels, you need to:

  1. Create a numeric sort order column for each hierarchy level that defines the desired display order.

  2. In the data model, select the description column, then use "Sort by Column" to sort it based on the corresponding sort order column.

This way, the matrix will follow your custom order instead of defaulting to alphabetical sorting.

Here's a step-by-step guide:
How to sort by a column in Power BI

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Harineeeeeeee,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you are want to sort your data alphabetically in your matrix visual. As @Ritaf1983 already responded to your query, please go through the response and check if it solves your issue. 

 

I would also take a moment to thank @Ritaf1983, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

Anonymous
Not applicable

Hi @Harineeeeeeee,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

Anonymous
Not applicable

Hi @Harineeeeeeee,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.


Thank you.

Anonymous
Not applicable

Hi @Harineeeeeeee,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

Ritaf1983
Super User
Super User

Hi @Harineeeeeeee 

To control the sorting order in a Power BI matrix when drilling up or down through hierarchy levels, you need to:

  1. Create a numeric sort order column for each hierarchy level that defines the desired display order.

  2. In the data model, select the description column, then use "Sort by Column" to sort it based on the corresponding sort order column.

This way, the matrix will follow your custom order instead of defaulting to alphabetical sorting.

Here's a step-by-step guide:
How to sort by a column in Power BI

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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
Top Kudoed Authors