Forum Discussion

goalie_'s avatar
goalie_
Helper III
4 years ago
Solved

Sankey diagram node

Is there a way to lock the position of nodes in a Sankey Diagram once they've been moved? Everytime I manipulate the data to fix a label, create a new connection, the nodes move into a random(?) orde...
  • v-kkf-msft's avatar
    4 years ago

    Hi goalie_ ,

     

    You can sort these nodes by [Index] column.

     

    First create the index column in Power Query.
    1. Group by Destination column.

     

     

    2. Add Index column.

     

    3. Expand all columns.

     

     

    Then select the [Destination] column and sort by [Index] column.

     

     

    If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

    Best Regards,
    Winniz

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