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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
hchava5292
Frequent Visitor

Standard or fixed Bar width

Hi Everyone,

I have use case where I built a tooltip page which consist of stacked bar chart designed on samples based on answer. My requirement is to keep the bar width fixed irrespective of sample size. Currently in attached screenshot we could see different width of samples 2,7,3. Irrespective of sample size is it possible to keep bar with fixed.

Thanks for help.

hchava5292_0-1778762871106.png

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@hchava5292 

I don't think we can change the width for that. It's because the width is affected by the number automatically.

 

if you want to have the same width, maybe the workaround is to create three cards.

 

11.png

 

pls see the attachment below

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

danextian
Super User
Super User

Hi @hchava5292 

The only way to keep the widht of each series is to use the same value. You can use a measure that returns a constant for the y-axis and then a customize the data label to that of the actual measure.

danextian_0-1778807729484.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
v-menakakota
Community Support
Community Support

Hi @hchava5292 ,
Thanks for reaching out to the Microsoft fabric community forum. 


I would also take a moment to thank @danextian  and @ryan_mayu   , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference. 
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team

Hi @hchava5292 ,

I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.

Best Regards, 
Community Support Team

danextian
Super User
Super User

Hi @hchava5292 

The only way to keep the widht of each series is to use the same value. You can use a measure that returns a constant for the y-axis and then a customize the data label to that of the actual measure.

danextian_0-1778807729484.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
ryan_mayu
Super User
Super User

@hchava5292 

I don't think we can change the width for that. It's because the width is affected by the number automatically.

 

if you want to have the same width, maybe the workaround is to create three cards.

 

11.png

 

pls see the attachment below

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




DanieleUgoCopp
Super User
Super User

Hello,

I’m not completely sure there is a native way in the standard stacked bar chart, I think Power BI automatically resizes bars based on the visual space and categories.
You can try using a custom visual like Deneb or Charticulator, there you usually get more control over fixed widths. Another thing you can try is setting a fixed minimum category width in the formatting pane, sometimes it helps keep the bars visually consistent in tooltips.

Best regards,
Daniele

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors