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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.