Forum Discussion

richard_wylde's avatar
richard_wylde
Helper IV
7 years ago
Solved

Nested Axis

Hello,

 

do you know if nested axis is avalable on a bar chart, such as the example below ?  

 

Thank you

  • v-juanli-msft's avatar
    v-juanli-msft
    7 years ago

    Hi richard_wylde 


    richard_wylde wrote:

     

    Hello v-juanli-msft 

     

    I've almost managed to recreate your matrix by moving the dimensions into the Values, but the only problem now is that it automatically summarizes just the first value, so it is showing only one record per Insurer_Name. Is there a way to resolve this ?


    Add name, code columns in the "ROW" field of the matrix instead of "VALUE" field.

    Look at my example

     

    I will show the detailed steps one by one:

    turn off "Stepped layout".

     

    Best Regards
    Maggie

     

    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

9 Replies

  • Michiel's avatar
    Michiel
    Resolver III

    It depends on what it should look like. But you can drop multiple fields on the axis of a bar chart, and then you're able to drill down from one to another.

    • richard_wylde's avatar
      richard_wylde
      Helper IV

      Thanks for your response Michiel. Drill throughs are different however, in the example below I am able to identify the Account Type / Payment Method / Trans Class combination with the maximum number of records , would this be available in PowerBI ?

       

       

       

       

       

      • Michiel's avatar
        Michiel
        Resolver III

        You can do something like this with the standard bar chart in Power BI: drop multiple fields on the Y-axis and drill down using the 'forked down arrow' option (Expand all down is the official name). The level values will be concatenated. However, the chart tends to abbreviate bar labels so this is not the ultimate solution. You can, of course, use tooltips to show everything.

         

        By the way, 'drill through' is something else in Power BI: drilling towards another page in the report.

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi richard_wylde 

    1. With a bar chart, it can show all fields in x-Axis

     

    2.

    To show all fields names as your pricture, use a matrix visual instead

    then select "Value" field->conditional formatting->data bars

    It can sort by the "Value", but the order would consider the columns in "Row" fields.

     

    3.

    If you want the "Value" to be sorted only by itself, please change the matrix to a table visual

    Best Regards
    Maggie

     

    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

    • richard_wylde's avatar
      richard_wylde
      Helper IV

      Hi v-juanli-msft  -  thank you!  - the bar chart you attached is exactly what I'm trying to do - but I still can't work out how you did it !

       

      I tried to recreate your bar chart but it still ended up with only one field on the x-axis

      (sorry I don't know how to attach a  .pbix )

       

    • richard_wylde's avatar
      richard_wylde
      Helper IV

       

      Hello v-juanli-msft 

       

      I've almost managed to recreate your matrix by moving the dimensions into the Values, but the only problem now is that it automatically summarizes just the first value, so it is showing only one record per Insurer_Name. Is there a way to resolve this ?

       

       

       

       

       

       

      • v-juanli-msft's avatar
        v-juanli-msft
        Community Support

        Hi richard_wylde 


        richard_wylde wrote:

         

        Hello v-juanli-msft 

         

        I've almost managed to recreate your matrix by moving the dimensions into the Values, but the only problem now is that it automatically summarizes just the first value, so it is showing only one record per Insurer_Name. Is there a way to resolve this ?


        Add name, code columns in the "ROW" field of the matrix instead of "VALUE" field.

        Look at my example

         

        I will show the detailed steps one by one:

        turn off "Stepped layout".

         

        Best Regards
        Maggie

         

        Community Support Team _ Maggie Li
        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.