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
enavesca
Frequent Visitor

How to order a Scatter chart by - X axix

Hello everyone,

 

I would like to order the X axis by "Size Desc", from smallest to largest (XS, S, M, L, XL).

 

enavesca_0-1711340094006.png

I've attempted to order the 'Size Desc' column by the 'Size' column, but it didn't work.

 

 

enavesca_1-1711340187440.png

 

I appreciate any suggestion that solves this problem

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @enavesca 

According to your description, you can check the Size Desc field, then check Size in the Sort by column function of Column tools, the X-axis will be sorted by the size of the Size.


vyaningymsft_0-1711444763002.png

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @enavesca 

According to your description, you can check the Size Desc field, then check Size in the Sort by column function of Column tools, the X-axis will be sorted by the size of the Size.


vyaningymsft_0-1711444763002.png

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

lbendlin
Super User
Super User

Nearly there.  Flip your size column around, with XL being 1, L being 2 etc.  "Sort a column by another column"  is always ascending.

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.