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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Sort column based on 2 columns

I have a requirement where I have to sort the column based on 2 columns, so when ever the column is used to visualize it will be sorted.

So the problem is when i tried to sort the column value based on Sort, I am getting an error saying "There cant be more than one sortID for value". but when I check the data after adding the id filter i am getting the correct sorting for value. 

 

Value              SortID  ID
Determine Fix 3         5257
Determine Fix 3         8062
Determine Fix 4         253
Determine Fix 6         106
Determine Fix 6         146
so is there any trick that i can apply when showing the data in a visual applying id filter so that i can get the correct sorting order.

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

 

The reason you're encountering this error is that there cannot be more than one "sortID" for the same "value." The "sortID" should be a unique identifier and cannot be used multiple times for the same "value." You need to ensure that each "value" has a distinct "sortID" assigned to it. Review your data and fix the duplicate "sortID" values for the same "value" by selecting one and modifying the others accordingly.

 

EzgiAslankara_0-1684418141471.png

 

 

Best regards,

Ezgi Naz Aslankara

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.