Forum Discussion
Remove parenthesis from pie chart labels
I have a report that utilizes pie charts with % based data labels and for some reason some of the values are showing with parenthesis around them and some are not. The values are correct, but I would prefer not to have the parenthesis (or have all of them with parenthesis) rather than mixed and matched.
I used a calculated measure to get the % values and I cannot see any issue with the formula, and when I select "See Data" for the chart, the %s are correct without any of the parenthesis.
Any help on this would be greatly appreciated!
Here is an image of the chart:
Here is an image from selecting "See Data":
Hi, you have done nothing wrong. Its a presentational failsafe so that if you had a label which was for example '5' and the result was 5% then if it were on one line with no parentheses it would look like 5 5%. Not a great result. You can see that if the label is on a second line its not in the brackets.
To work around it if you need to try putting the value in as a tooltip. You might need a FIRSTNONBLANK(Value , 1) to make the tool tip work sucessfully. You might also need to turn off the value on the piechart values label.
1 Reply
- samdthompsonMemorable Member
Hi, you have done nothing wrong. Its a presentational failsafe so that if you had a label which was for example '5' and the result was 5% then if it were on one line with no parentheses it would look like 5 5%. Not a great result. You can see that if the label is on a second line its not in the brackets.
To work around it if you need to try putting the value in as a tooltip. You might need a FIRSTNONBLANK(Value , 1) to make the tool tip work sucessfully. You might also need to turn off the value on the piechart values label.