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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.