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
spartan27244
Resolver I
Resolver I

Sort different on graph than in grid

Can anyone tell me why PowerBI decided to sort these differently ... note the graph ends with 2017f while the grid sorts propery.Graph Sort Issue.png

1 ACCEPTED SOLUTION

Hi @spartan27244 !

 

You can Line chart, and set X-Axis property to Categorical, this will allow you to sort you axis based on Column / measure.

 

SortOrderSortOrderCategoricalCategorical

 

Regards,

Hasham

View solution in original post

3 REPLIES 3
HashamNiaz
Solution Sage
Solution Sage

Hi @spartan27244 !

Please makesure you are sorting both visual on same [column] / measure and sorting order is same ASC/DESC

 

Regards,

Hasham

The Axis for the Graph is the Same field as the first field in the grid. So they sort the same, also exaplain why on the Grpah axis it would move 2017f to the right of the other 3 that are in order.

Hi @spartan27244 !

 

You can Line chart, and set X-Axis property to Categorical, this will allow you to sort you axis based on Column / measure.

 

SortOrderSortOrderCategoricalCategorical

 

Regards,

Hasham

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.