Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi all,
I need to sort data by Week, but when I try to do it, I got the wrong result the data isn't sorted correctly:
Can we have another way to sort correctly this data?
Solved! Go to Solution.
Looks like your week column is sorting as text. Convert the data type of your Week column to Whole Number and it should work correctly.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Problem solved by converting the column to numbers. Thanks for help.
Looks like your week column is sorting as text. Convert the data type of your Week column to Whole Number and it should work correctly.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@medlalami , Seem like the data type is text, Change it to the whole number.
Or create whole number column with week number and mark as the sort column of this one
refer if needed
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 64 | |
| 31 | |
| 26 | |
| 26 |