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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.