Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 58 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 118 | |
| 38 | |
| 36 | |
| 29 |