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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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