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
Moh_ali_square
Advocate II
Advocate II

alphabetical Custom Hierarchy with reference to numberical custom hierarchy

HI, 

I have Data set of Codes with associated description, there is a logical hierarchy for the codes in different columns (Segment, Family, Class, and Commodity) as below example. I can make a custom hierarchy between Numerical Columns, and Title Columns, but can I make a hierarchy based on title Columns and I can sort them based on Numerical Columns? as other stakeholders will not be interested to see a chart or an insight with number columns, but it is understandable in title column...

thanks

 

UNSPSC Sample hierarchy.PNG

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

you can build a hierarchy without using any number column, you just have to consider the length of text if it's used on an axis or as header in a table, no matter if it's used on rows or columns.

 

From within your model pane you can mark a column and use the "Sort by Column" menu. The attached picture shows how to sort the column "skill" by the column "value".

 

2017-04-12_08-27-08.png



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

you can build a hierarchy without using any number column, you just have to consider the length of text if it's used on an axis or as header in a table, no matter if it's used on rows or columns.

 

From within your model pane you can mark a column and use the "Sort by Column" menu. The attached picture shows how to sort the column "skill" by the column "value".

 

2017-04-12_08-27-08.png



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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