Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Team,
With the recent upgrade, I do see that the Data labels in the Pie chart could be customized to show Percentages alongwith the Category.
Currently, my Pie chart displays Labels in Category and Percentage format, like this - "ABCD 28.06%".
I'm looking to round the Percentage (near the Category) to the nearest whole number.
Any ideas/suggestions on how we can achieve this? Is there any work around?
Thanks!
Ranjani
Hi @Ranjani_m,
I understood your problem. You have used below setting to simply convert your values to show as percentage.
Well, you cannot round this percentage as of now.
I would suggest you to create a measure and calculate percentage and then round it how @vanessafvg mentioned.
Then use that measure in Values section of the Pi Chart.
Thanks !!!
Hi,
Thanks for your response. I tried various work arounds using Measuress- those codes work very well as a standalone (can use in a KPI card/Bar Graph) but once I use the Percentage measure on a Pie chart, it doesn’t work since Pie chart again does a percentage calculation automatically. Thereby, a percentage breakdown of an existing percentage happens, leading to wrong values.
Thanks!
Hi @Ranjani_m,
I think after crearting %Measure, you are choosing Percent Of Total to be shown in Pi Chart.
Just choose Data values as Data labels to be shown. It will show your calculated Measure as breakup of PiChart.
Thanks !!!
cant you just remove the decimal points from your % ie. change it to 0
Proud to be a Super User!
It wouldn't allow me to do that, since am trying to customize the percentage in a Pie chart and not on a specific column.
The decimal formatting (that you have in the screenshot) works/shows up only when we click on a specific column/field from the table and not on the visual.
Thanks!
Ranjani
ok well as far as i know that is where the formatting of the measure is handled, if you dont want your measure to be formatted like that, maybe create a copy of the measure without the decimals and use that in the chart? out of curiosity is it a % measure or are you converting it to that in the pie?
Proud to be a Super User!