How do I show integer % value on pie chart

Knowledge Drop

Last tested: Apr 11, 2019
 

The percentage gets calculated automatically based on the values in the Data section. Instead, if you change the label type to "Value", then the labels will be exactly what is shown in the data table.
 

Steps:

  1. Hide the measure from the vis
  2. make a table calc that calculates the percentage
    ${measure}/${measure:total}
  3. apply the Percent(0) formatting (or desired formatting)
  4. in the chart option change the 'Label Type' to 'Value'

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:13 PM
Updated by: