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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.