Forum Discussion

PetriR's avatar
PetriR
Regular Visitor
1 year ago
Solved

PowerBi gantt sorting bug

Hey,   I'm using the 3.0.12.0 version of MS provided Gantt visualization and I noticed that when you sort the data alpabetically, it does not work correctly. If the data lines have uppercase and lo...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi,

    Thanks for solution rajendraongole1 offered, and i want to offer some more information for user to refer to.

    hello PetriR , based on your descriotion, please check that if you sort it descending, if it is sorting descending, it will sort befoe the "ebikes".

    And you can try to remove the visual, then recreate it and sort the field.

    After tesing, it can work in  my sample.

     

    If the soution above cannot solve it, you can consider to add a custom column in power query.

     

     

    =Text.Upper([Column1])

     

     

     

    Then in power bi desktop, select the column1 and the select sort by the custom column.

    Then remove the field in visual  and reput it to the visual, it should work.

     

    Best Regards!

    Yolo Zhu

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