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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ERing
Helper V
Helper V

Can I sort the x-axis by total sales?

I have a stacked bar chart visual set up below where my x-axis is car sales and truck sales and my y-axis is sales representative. Id like to sort the x-axis by total sales, so that the sales representives along the y-axis are displayed by total sales.

Is this possibe?

Capture 7.PNG

 

Capture 8.PNG

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

You can create a 3rd measure that adds car and truck sales together and add that to the tooltip field for the visual. It will then be available in the ellipsis Sort By to sort the visual with it.

 

Pat

Microsoft Employee

View solution in original post

2 REPLIES 2
ppm1
Solution Sage
Solution Sage

You can create a 3rd measure that adds car and truck sales together and add that to the tooltip field for the visual. It will then be available in the ellipsis Sort By to sort the visual with it.

 

Pat

Microsoft Employee

@ppm1 Perfect. Thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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