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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Muthuramalingam
Frequent Visitor

sort by column issue

Hi 

I am having financial accounts in one column and unique numbers in another column. I have sorted the financial accounts column by unique numbers column. we received the below error. We checked the numbers column, numbers are unique. Please suggest a way to solve the issue

 

Muthuramalingam_0-1667931611612.png

 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

The sort column must contain unique values which correspond to each unique value in the sorted column. So if you have two rows with value A, and the sort by column has 1 and then 2, you cannot sort by the sort column. 
All "A" rows must have 1; all "B" rows must have 2 ... and so on





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

1 REPLY 1
PaulDBrown
Community Champion
Community Champion

The sort column must contain unique values which correspond to each unique value in the sorted column. So if you have two rows with value A, and the sort by column has 1 and then 2, you cannot sort by the sort column. 
All "A" rows must have 1; all "B" rows must have 2 ... and so on





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.