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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
ktt777
Helper V
Helper V

Sorting order

Hi all,

how can i sort the column on order : Orang , Apple, Melon.

I tried to create a order column but Power BI does not allow to sort "Fruit" column by "Standard Process Order 1" column because a circular dependency

 

ktt777_0-1699282198178.png

 

 

https://1drv.ms/u/s!ApIDnMK2eKiFgkky1BP78dhf7Dm_?e=Tw3u1Y 

 

thanks

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@ktt777 ,

This error is due to calculated column was referring to the same column (Fruit) which you are trying to sort. To achieve the result you need to create one more static table in Power Query editor and then load the table to PBI desktop, then make the relationship between actual table and new table.
Now sort the fruits in new table based on the index created in new table and use the fruit column of static table in the visual. Please refer the attached file,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


View solution in original post

1 REPLY 1
Arul
Super User
Super User

@ktt777 ,

This error is due to calculated column was referring to the same column (Fruit) which you are trying to sort. To achieve the result you need to create one more static table in Power Query editor and then load the table to PBI desktop, then make the relationship between actual table and new table.
Now sort the fruits in new table based on the index created in new table and use the fruit column of static table in the visual. Please refer the attached file,





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors