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
jmccorkle
New Member

Alphanumeric Ordering Fix Including a Hierarchy

We have a software that utilizes BI to report on its stored data.

There is a certain dashboard built that there is a hierarchy in place for how the data is displayed. Now the names of the headers for each hierarchy is what the entire dataset is ordered by. But these names are ordered alphanumerically which is causing an issue with the ordering.

For example: the headings are currently ordered B-1, B-10, and B-2. When they should be ordered B-1, B-2, B-10. This is included in a screenshot below. Is there a way to have BI reorder these without changing the hierarchy and keeping all of the data groups properly grouped together?

jmccorkle_0-1663347517933.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Add a column to your data model that indicates the desired sort order and then sort your header column by that column.

Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Add a column to your data model that indicates the desired sort order and then sort your header column by that column.

Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

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