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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Elijabrnc
Frequent Visitor

Calender weeks

Hallo, I want to make a filter for the Calander weeks. The problem is that PowerBI is sorting it from 1, 10, 11, ..., 2, 21, 22 instead of 1, 2, 3, .. 9, 10. How can i change that? 

Elijabrnc_0-1694685257612.png

 

1 ACCEPTED SOLUTION
nirali_arora
Resolver II
Resolver II

It might be because your data type is text. You can either convert the data type to number or create a column which is having week numbers and having data type as whole number and mark that new column as a sort column.

How to Create Sort Column and Solve Related Errors: 
https://www.youtube.com/watch?v=KK1zu4MBb-c

View solution in original post

1 REPLY 1
nirali_arora
Resolver II
Resolver II

It might be because your data type is text. You can either convert the data type to number or create a column which is having week numbers and having data type as whole number and mark that new column as a sort column.

How to Create Sort Column and Solve Related Errors: 
https://www.youtube.com/watch?v=KK1zu4MBb-c

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.

Top Solution Authors