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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Sorting a filter

Hello, I'm new at Power BI and at the X axis I have the weeks, and I've the amount of sales of that week at Y axis. But when I put the filter it's really strange the sort of the filter, right now I've it as the following:

-week 1

- week 10

- week 2

- week 3

- week 4

-week 5

- week 6

- week 7

- week 8

- week 9

 

Does any body know how to help me? I don't know why week 10 isn't after week 9

1 ACCEPTED SOLUTION
user01
Resolver I
Resolver I

Because 1 comes before 9. The week number should have a leading zero, ie. Week 01, Week 02, ... Week 09, Week 10. Alternatively, trying making another column with the order ("Order") you want, then sort your "Week" column by the "Order" column using the Column Tools > Sort by column.

 

Something like this:

https://community.fabric.microsoft.com/t5/Desktop/Sorting-the-Slicer/m-p/24565

View solution in original post

4 REPLIES 4
user01
Resolver I
Resolver I

Because 1 comes before 9. The week number should have a leading zero, ie. Week 01, Week 02, ... Week 09, Week 10. Alternatively, trying making another column with the order ("Order") you want, then sort your "Week" column by the "Order" column using the Column Tools > Sort by column.

 

Something like this:

https://community.fabric.microsoft.com/t5/Desktop/Sorting-the-Slicer/m-p/24565

Anonymous
Not applicable

Thanks a lot! It worked perfectly

vanessafvg
Community Champion
Community Champion

because its a text field not a date or number field. do you have a date table?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Yes I have date, and for example I have 1/01/2024 in column b and in column A I have week 7image.png

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.