Forum Discussion

Cado_one's avatar
Cado_one
Resolver III
5 years ago
Solved

Sort column with repeated values by another column

Hi,   I got an issue with a frequent columns sorting error and none of the similar existing topics has been able to solve the problem. Here comes some explanation : I have a column which contains...
  • v-zhenbw-msft's avatar
    5 years ago

    Hi Cado_one ,

     

    The PlanAchievement column has multiple values. For example, in your sample, the column has five 0. So it cannot sort by other column.

    You need to add an index column and create a new PlanAchievement column to replace it.

    Please refer the following steps.

     

    1. Add an index column using Power Query Editor.

     

     

    2. Then we can create a column. Create a table visual using this column and sort by AreaColorIndex column.

     

    New plan Achievement Column = 'Table'[PlanAchievement] + 'Table'[Index] * 0.00000001

     

     

     

    If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

     

    Best regards,

     

    Community Support Team _ zhenbw

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

     

    BTW, pbix as attached.