Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Guys,
Hi @LGi ,
In the stacked bar chart, we cannot set the information to display in your label property. So I am afraid there is no such a function to achieve this requirement. If you are a experienced coder, you could create a custom visual to display similar information in your chart.
https://powerbi.microsoft.com/en-us/documentation/powerbi-custom-visuals-getting-started-with-develo...
If you have any concern on this feature, you can submit your idea on the link below. If this feature was mentioned by mulitple users, product team will consider to add this feature to next release.
https://ideas.powerbi.com/forums/265200-power-bi-ideas
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Liang,
thank you for your comments. unfortunately I'm not an experienced coder 😞
I have submitted an idea as recommended.
https://ideas.powerbi.com/ideas/idea/?ideaid=3ccaf324-faa7-eb11-89ee-0003ff455f8a
Hi @amitchandak,
Thank you for the quick response, unfortunatly the link helps so show only the %, what I am looking for is to show the category name label inside the visual, not %. Do you know if this is possible?
oh that's a shame 😞 hopefully a solution would be availble soon. Thanks for your support.
What I need to create has % in axis, name of country (dimention) + value as label inside the chart
Hi Guys,
I would like to do the same.
Any news on this?
Thanks
@Giu I have found a way to do this, you need to create a measure which combines the label and the value:
Category Label = SELECTEDVALUE('TableName'[Country]) & [ValueMeasure]Then under Data Labels drop down in the Visual section of the Format Visual Pane, go to Values and change Custom Label to 'On' then drag your Category Label measure into it. Bobs your uncle!
Thanks @JemmaD ! This worked for me too.
Another note in case it helps others. I wanted multiple spaces between my Series Name and Measure Value, but just adding multiple spaces into the label measure didn't work. Power BI still showed only one space between the name and the value:
Category Label = SELECTEDVALUE('TableName'[Country]) & " " & [ValueMeasure]
Instead, I had to use the non-breaking space character UNICHAR(160) multiple times, and that worked to give me sufficient space between the name and the value:
Category Label = SELECTEDVALUE('TableName'[Country]) & UNICHAR(160) & UNICHAR(160) & UNICHAR(160) & [ValueMeasure]
Here's how my final result looks, you can see it works with a 'Line and clustered column chart' too:
Hi!
From my point of view is the best solution take a look of the results:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 47 | |
| 44 | |
| 20 | |
| 20 |
| User | Count |
|---|---|
| 73 | |
| 72 | |
| 34 | |
| 33 | |
| 31 |