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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Gururajv007
Helper I
Helper I

Unable to Sort by Columns

Dear Experts - I am unable to sort the "Stage for Final report" ( TEXT FORMAT ) Column as per the Index in"Stage Final Index" ( Whole number format ) 

Error getting : Sory by Another Column - This column can't be sorted by a column that is already sorted, directly or indirectly, by this column.  Any suggestion, please.

Sorting Error.png

 
 
1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @@Gururajv007 ,

 

Based on your description,if the value of "Stage Final Index" depends on "Stage for Final report", you cannot sort "Stage for Final report" by "Stage Final Index".

You can also refer to following blog to know how to create a related sort table to enable sort by column feature: http://www.excelnaccess.com/custom-sorting-in-power-bi/


(Note: This link contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)
 

 

Best Regards,

Liang 

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

View solution in original post

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @@Gururajv007 ,

 

Based on your description,if the value of "Stage Final Index" depends on "Stage for Final report", you cannot sort "Stage for Final report" by "Stage Final Index".

You can also refer to following blog to know how to create a related sort table to enable sort by column feature: http://www.excelnaccess.com/custom-sorting-in-power-bi/


(Note: This link contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)
 

 

Best Regards,

Liang 

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

V-lianl-msft
Community Support
Community Support

Hi @Gururajv007 ,

 

Based on your description,if the value of "Stage Final Index" depends on "Stage for Final report", you cannot sort "Stage for Final report by "Stage Final Index". You can also refer to following blog to know how to create a related sort table to enable sort by column feature: http://www.excelnaccess.com/custom-sorting-in-power-bi/

 

(Note: This link contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.)

 

Best Regards,

Liang

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.