This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am having trouble sorting data and keep receiving this error.
"We can't sort the 'x' column by 'y'. There can't be more than one value in 'y' for the same value in 'x'."
The 'x' column is text and sorted alphabetically currently. The 'y' column is literally a column I created called 'sort order' and it is numbers. This worked a day ago, but after updating data and refreshing it within powerbi the graphs will no longer sort properly.
I have no idea what this error means or how to fix it. Any help will be very much appreciated.
Solved! Go to Solution.
@bshunta,
The above error occurs when you have different order values in y column for duplicate values in x column, please review the following example.
Make sure that the order values in y column are same for duplicate values in x column. And you will be able to use the sort by column feature.
Regards,
Lydia
@bshunta,
The above error occurs when you have different order values in y column for duplicate values in x column, please review the following example.
Make sure that the order values in y column are same for duplicate values in x column. And you will be able to use the sort by column feature.
Regards,
Lydia
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 48 | |
| 46 | |
| 41 | |
| 21 | |
| 18 |