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

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

Reply
Anonymous
Not applicable

Help Formatting Bar Chart

Hi, 

I have the following bar chart which has 2 dimensions on the X-Axis (Week and Group). 

 

Brandon16_1-1638980969982.png

 

Is there anyway to removed the gaps, for example, Week 46 and 47 have 2 'Group' so it would be good to see this gap closed, something like this below, is that possible at all please? 

Brandon16_3-1638981068903.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

What does your table look like? Here you create three measures Test One/Test Two/Test Three and add them in Value field in your visual. Clsuter Stacked  Bar Chart doesn't support you to add multiple measures in its value field. Clsuter Stacked  Bar Chart needs a Legend Part to distinguish Test One/Test Two/Test Three.

Your table should looks like as below.

1.png

2.png

So I suggest you to sort your visual in Stacked Column Chart by Week Group(X axis) and then turn off Cancatenate labels in X axis Format.

1.png

Best Regards,
Rico Zhou

 

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

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Are you looking for clustered stacked visual https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200001934?tab=overview

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

That looks like it could work, but not sure how to build this out as I have 3 measures (Test One, Test Two and Test Three) but I can only add in one measure. I'm then not too sure what to do with Categories or Legend. 

Any Idea please? 

Anonymous
Not applicable

Hi @Anonymous ,

 

What does your table look like? Here you create three measures Test One/Test Two/Test Three and add them in Value field in your visual. Clsuter Stacked  Bar Chart doesn't support you to add multiple measures in its value field. Clsuter Stacked  Bar Chart needs a Legend Part to distinguish Test One/Test Two/Test Three.

Your table should looks like as below.

1.png

2.png

So I suggest you to sort your visual in Stacked Column Chart by Week Group(X axis) and then turn off Cancatenate labels in X axis Format.

1.png

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.