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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MeggieD00dles
Frequent Visitor

Bar graphs getting cut off?

I have a series of bar graphs have between 2-3 datapoints in the x axis, but for whatever reason Power BI cannot seem to properly format the end bars. Picture A shows what my graph looks like in "continuous" mode, and you can see the first and last bar are tiny compared to the others, with a wide space in between the datapoints. Picture B shows what the same graph looks like in "categorical" mode, which is slightly better, but I want there to be some space deliniating each section by year. Does anyone have any advice on getting Power BI to show all the bars as the same width?

A. MeggieD00dles_0-1693511584471.png 
B. MeggieD00dles_3-1693511748162.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @MeggieD00dles ,

You can try the following settings:

X – axis  -- Type – set Categorical

vyangliumsft_0-1693795141463.png

Columns – Spacing – inner padding – set 0 px

vyangliumsft_1-1693795141464.png

vyangliumsft_2-1693795165316.png

 

Best Regards,

Liu Yang

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

2 REPLIES 2
Anonymous
Not applicable

Hi  @MeggieD00dles ,

You can try the following settings:

X – axis  -- Type – set Categorical

vyangliumsft_0-1693795141463.png

Columns – Spacing – inner padding – set 0 px

vyangliumsft_1-1693795141464.png

vyangliumsft_2-1693795165316.png

 

Best Regards,

Liu Yang

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

Thank you! I was able to change the column spacing after I switched the type to "Categorical" and it maintained the adjustment when I switched it back to "Continuous"

MeggieD00dles_0-1693924450980.png

 



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.