Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
richard_wylde
Helper IV
Helper IV

Nested Axis

Hello,

 

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

 

nested axis on a bar chart.jpg

Thank you

1 ACCEPTED SOLUTION

Hi @richard_wylde 


@richard_wylde wrote:

Matirx .jpg

 

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

9.png

 

I will show the detailed steps one by one:

10.png11.png12.png

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.

View solution in original post

9 REPLIES 9
v-juanli-msft
Community Support
Community Support

Hi @richard_wylde 

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

4.png

 

2.

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

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

5.png

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

6.png

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.

Matirx .jpg

 

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 ?

 

 

 

 

 

 

Hi @richard_wylde 


@richard_wylde wrote:

Matirx .jpg

 

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

9.png

 

I will show the detailed steps one by one:

10.png11.png12.png

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.

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 )

 

nested axis working  - but how .jpg

Hi @richard_wylde 

Click on the "expand" icon, you could get the visual like mine.

6.png

 

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.

Unfortunately the bar chart visual is one area where Power BI lags far behind Excel (and Tableau) in terms of power and flexibility as it lacks the ability to display multiple levels of grouping and control size of and space between bars.

 

Edit - there does now seem to be more flexiblity with bar size and space - https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/16737364-allow-configurable-gap-w...


I believe the example shown above uses the Matrix visual instead as a bit of a hack.

You may also be able to get somewhere near what you want with one of the bar charts from the marketplace which supports "small multiples"

Michiel
Resolver III
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.

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 ?

 

Tableau  nested  columns.jpg

 

 

 

 

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.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.