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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
H-two-O
New Member

How do I sort sub-field in hierarchy slicer?

East

  New York

  Florida

Central

  Chicago

  Texas

West

  Nevada

  California

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @H-two-O ,

 

For this you need to have a sorting column for the regions and for the cities:

MFelix_0-1682171325128.png

 

Now if you sort the columns by the respective sorting column you get the expected result:

MFelix_1-1682171352709.pngMFelix_2-1682171361699.pngMFelix_3-1682171370587.png

Sorry for the spelling error only realized it after looking at the images 😄

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
H-two-O
New Member

Thanks a lot.

MFelix
Super User
Super User

Hi @H-two-O ,

 

For this you need to have a sorting column for the regions and for the cities:

MFelix_0-1682171325128.png

 

Now if you sort the columns by the respective sorting column you get the expected result:

MFelix_1-1682171352709.pngMFelix_2-1682171361699.pngMFelix_3-1682171370587.png

Sorry for the spelling error only realized it after looking at the images 😄

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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