Forum Discussion

Harry41's avatar
Harry41
Frequent Visitor
2 years ago
Solved

Customized Order For Sunburst Chart

Hi all!

 

I'm currently trying to work on a sunburst chart that shows data from a sequence of seven steps. The issue is, the Microsoft sunburst chart seems to auto-sort by the value of each sub-category or "step", meaning it shows data in a seemingly random order (i.e Step 6 -> Step 3 -> Step 4 -> etc.).

Has anyone got a way that I could force the chart instead to render the data in an order I want (Step 1 -> Step 2 -> Step 3 -> etc.)? I've tried using the classic "Sort Order" column trick but with no success. A sample of the data is below.

 

StepTypeSort OrderTotal
1Type A150
1Type B1200
2Type A2175
2Type B2600
3Type A3800
3Type B31200
4Type C4120
5Type A5125
5Type B5500
6Type A6600
6Type B620
7Type A7100
7Type B715

 

Thanks in advance!

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Harry41 

     

    In Power BI, the default behavior for the Sunburst Chart is to sort the segments (also known as "rings" or "levels") by the value size of each segment. This sorting method is intended to make the largest items more prominent, so they typically appear at the top or the beginning of the chart.

    Unfortunately, the Sunburst Chart's design does not allow for a direct modification of the sorting logic, as its primary design intention is to show the size relationship of hierarchical data.

     

     

     

    Best Regards,

    Jayleny

     

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

     

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Harry41 

     

    In Power BI, the default behavior for the Sunburst Chart is to sort the segments (also known as "rings" or "levels") by the value size of each segment. This sorting method is intended to make the largest items more prominent, so they typically appear at the top or the beginning of the chart.

    Unfortunately, the Sunburst Chart's design does not allow for a direct modification of the sorting logic, as its primary design intention is to show the size relationship of hierarchical data.

     

     

     

    Best Regards,

    Jayleny

     

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