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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Place data labels outside bars in stacked bar charts

Dear Community,

 

is there a function to place data labels OUTSIDE the bars of a stacked bar visuals? It does not seem to be an availalbe option - and it looks like that if the size of the bar is too small, there is actually no way to display the label itself- which I find very unconvenient (I tried all possible options and combinations in the panel)

 

Thanks for any tips or trick  🙂 

 

Luca

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

There is already an idea, you may leave a comment and vote it up.

Community Support Team _ Sam Zha
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
Afives522
Frequent Visitor

I was able to have a workaround on this.
You need to use the Line and stacked column chart to do this.

 

1. You'll use the Line y-axis as the total value of your Column y-axis.

Ex. 

- Column y-axis has  Product-A and Product-B

- Line y-axis Product-C (which is the sum of Product-A and Product-B)

2. Go to "Format your visual" > Lines > Stroke width > 0 px

3. Go to "Format your visual" > Markers > Shape > Type > "-" 

4. Go to "Format your visual" > Markers > Shape > Size > 1 px

4. Go to "Format your visual" > Data Labels> Series > {Product-C}

5. Go to "Format your visual" > Data Labels> Position (line) > "Above"

5. Go to "Format your visual" > Data Labels> Values > Custom Label > "On", then drag the Product-C as the Field.

v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

There is already an idea, you may leave a comment and vote it up.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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