By using AWS re:Post, you agree to the Terms of Use
/Calculated Field in Visuals/

Calculated Field in Visuals



I have created a calculated field (a percentage) and have formatted it as such in Quicksight. However, when I add this to a donut chart and choose 'Add Metric' it just shows as the value 0.095 for example and not 9.5% which is incredibly frustrating . Is there a way to format this as its % value and not the numerical value. Please note i am aware of "value and percent" but that percent is of the total, not the calculation.

asked 5 months ago79 views
1 Answers

Thank you for posting the question and the detailed explanation on what you are expecting. At present, it is not possible to format the value as percentage in the Donut chart and this is an expected behavior. As every slice already represents a percent of the total, so we do not format individual values as percentages additionally, to avoid confusion. However, to achieve your use case you can consider the below workaround:

  • Create a calculated field with expression {column_name} * 100 where column_name is the column which has the values like 0.095
  • On the analyses page add this calculated field to the Donut chart and choose “Add Metric”.
  • Then navigate to “Field wells” > click on the calculated field > Format >More Formatting Options..
  • In “More Formatting Options”, navigate to “Units” and add a '%' suffix manually.

Following the above steps you should be able to display the values as percentage in the Donut chart.

answered 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions