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

Get certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started

Reply
BekahLoSurdo
Resolver IV
Resolver IV

Alphanumeric Sorting in Visuals

Hi all,

I have a bar graph with x-axis values that start with numbers and/or letters. Prior to today, it has always autosorted to [A-Z], [0-9] but when I refreshed my dashboard today, it switched to [0-9], [A-Z]. I can't switch to descending because I need the values within [A-Z] and [0-9] to be ascending. Any thoughts on why this would change? If this is a common occurence I'd like to be aware so I can create "sort by" columns for all of my visuals (which will be a pain and only worth it if necessary).

 

Prior to Refresh After Refresh 
Ascending*DescendingAscendingDescending
No Due Date2 - 4 weeks0 - 2 weeksPast Due
Past Due0 - 2 weeks2 - 4 weeksNo Due Date
0 - 2 weeksPast DueNo Due Date2 - 4 weeks
2 - 4 weeksNo Due DatePast Due0 - 2 weeks


*Desired result

 

AscendDescend.PNG

Thanks!

Bekah

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

Hi,

 

This condition is beacuse you design the initial sort for X-axis before refresh like [A-Z],[0-9].

However, when you refresh it, it will show the new sort by lexicographical order like [0-9],[A-Z].

This is just the correct sort.

 

Best Regards,

Giotto Zhi

View solution in original post

3 REPLIES 3
v-gizhi-msft
Community Support
Community Support

Hi,

 

This condition is beacuse you design the initial sort for X-axis before refresh like [A-Z],[0-9].

However, when you refresh it, it will show the new sort by lexicographical order like [0-9],[A-Z].

This is just the correct sort.

 

Best Regards,

Giotto Zhi

VasTg
Memorable Member
Memorable Member

@BekahLoSurdo 

 

Create a new column for sort order and use that column as SORT BY for "Proposal Date Range"

 

Refer to the documentation..

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

If it helps, mark it as a solution

Kudos are nice too

Connect on LinkedIn

Hi @VasTg,

As I mentioned in my post, I don't want to create a sort by as a default solution for all of my visuals on all of my dashboards unless necessary. So I'm more interested in the "why" this is happening. 

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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