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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Gisela
Helper I
Helper I

How to get rid of white space in clustered bar chart with measures

 

 

 

Hello,

 

I have created this clustered bar chart. Each column is a measure. How can I get rid of the white space in the chart? It takes up too much room. When I try to make it narrower, the bars just get thinner and the chart is impossible to read.

 

I have the measures in VALUE and one 'value' in the AXIS. Nothing in legend.

 

Appreciate any help.

 

Thank you,

Gisela

 

 

 

 

Clustered_bar_chart_with_measures.png

15 REPLIES 15
KatiS
Frequent Visitor

Has anyone found a solution to this? I am having the same drama with my chart. This is my only option for teh x Axis. 

KatiS_0-1719984457017.png

A solution would be great! 

Kat 

Anonymous
Not applicable

We should be able to control the width of the bars.

 

It's frustrating.

ClaytonMUK
Helper I
Helper I

I realise this is a very old thread, but I searched for a solution to the same problem, worked out an answer, so thought I would post. 🙂 My answer was to put my measures into a calculated table. You can then use that table to populate your chart with an x axis (measures) and y axis (measure values). Search how to create that table, but I used something like:

My table = {

 ("Measure 1",[measure 1]),

 ("Measure 2",[measure 2))

}

You can then edit the col headers as normal.

This doesn't work. 😞

skroutela
New Member

You can adjust the white space with "Minimum category width"  option available in Format -> Y Axis -> Minimum category with.

You just have to increase the value of minimum category width. 

I tried this on Clustered bar chart and its works for me.

JulietZhu
Helper IV
Helper IV

Does Anybody know the answer? I have the same issue. Please help. Thanks . I didn't see start and end in x-axis either. What should I do ? Thanks

 

13.PNG

I had the same issue, wanted to see my data labels while removing the extra whitespace around the bars. Try going into the X-Axis format area and playing around with the Minimum category width (setting it to the maximum) and the Inner padding (setting it to the minimum). After that you can adjust the width of the visualization to only encompass the actual data, removing whitespace.AfterAfterBeforeBeforeFormattingFormatting

bsas
Post Patron
Post Patron

Hi @Gisela,

 

You mean X-axis? or Y?

Axis.png

 

Hi @bsasIt is the column i have chosen as the 'name'/grouping, in the X axis.

@Gisela,

 

You can go to format in your visualization, then X-Axis and there set start and Eed. This will help you to show only some data.

@bsas not sure I understand how to do it. This is what I am seeing. There is a start and end in the Y axis but not in the X axis.

 

visualization.png

@bsas sorry, but I only see start/end in the Y axis. My X axis is not numbers so maybe that is why?

Hi @Gisela,

I guess there are mutiple values in X-axis, and the type of it is text value, right? If it is, why all the bars are clustered together. It should show different categories as follows.

The X-axis has multiple values, each month has two measure's valueThe X-axis has multiple values, each month has two measure's value

Best Regards,
Angelia

Hi @Gisela,

Have you resolved your issue? If you have, welcome to share your solution or mark the right reply as answer. More people will benefit from here.

Best Regards,
Angelia

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors