Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
do you know if nested axis is avalable on a bar chart, such as the example below ?
Thank you
Solved! Go to Solution.
@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.
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.
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 ?
@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.
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 )
Click on the "expand" icon, you could get the visual like mine.
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"
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 ?
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.
User | Count |
---|---|
125 | |
108 | |
99 | |
63 | |
62 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |