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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ryuuden2605
New Member

How do I sort by workweek in Power BI Desktop?

Hi,
I'm trying to create a report to show the number of survey respondents and CSAT per week. However, the weeks are not showing in correct order. Instead of being in 1,2,3,4,5... order, it's showing as 1,10,11,12,13,14,15,16,17,18,19,2,20... Can you give me a tip on how to fix this? Thanks in advance! 🙂

1 ACCEPTED SOLUTION
mllopis
Community Admin
Community Admin

Could you make sure that the field is of type number? You can select the field in the Fields pane and look at the type in the Data Tools - Modeling tab in the ribbon.

View solution in original post

3 REPLIES 3
AlexGorev
Power BI Team
Power BI Team

mllopis
Community Admin
Community Admin

Could you make sure that the field is of type number? You can select the field in the Fields pane and look at the type in the Data Tools - Modeling tab in the ribbon.
Tsanka
Kudo Collector
Kudo Collector

One possible option is:

 

Week = Format (WEEKNUM([Date]);"00")

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors