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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Yosinator
Frequent Visitor

How can I change the order of my x-axis in this graph?

It seems to be in a random order at the moment. 

Yosinator_0-1668798401765.png

 

1 ACCEPTED SOLUTION
v-yinliw-msft
Community Support
Community Support

Hi @Yosinator ,

 

You can try to create a measure,

New a measure:

 

Sort Measure =
VAR _a =
    FIND ( " ", MAX ( 'Table'[BOOTCAMP] ) )
VAR _date =
    RIGHT ( MAX ( 'Table'[BOOTCAMP] ), LEN ( MAX ( 'Table'[BOOTCAMP] ) ) - _a )
RETURN
    CONVERT ( _date, DATETIME )

 

And apply it as Tooltip ,then sort the visual by it,  like this:

vyinliwmsft_0-1669364834973.png

 

Hope this helps you.

Here is my PBIX file.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yinliw-msft
Community Support
Community Support

Hi @Yosinator ,

 

You can try to create a measure,

New a measure:

 

Sort Measure =
VAR _a =
    FIND ( " ", MAX ( 'Table'[BOOTCAMP] ) )
VAR _date =
    RIGHT ( MAX ( 'Table'[BOOTCAMP] ), LEN ( MAX ( 'Table'[BOOTCAMP] ) ) - _a )
RETURN
    CONVERT ( _date, DATETIME )

 

And apply it as Tooltip ,then sort the visual by it,  like this:

vyinliwmsft_0-1669364834973.png

 

Hope this helps you.

Here is my PBIX file.

 

Best Regards,

Community Support Team _Yinliw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Great idea! I'll give this a shot. 

Thank you. 

Syk
Super User
Super User

Top right there should be a menu you can change the order of the axis and legend

Syk_0-1668800996964.png

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors