I would like to calculate a remaining percentage that makes up a 100%.

Our data consists of value A that represents a number of events completed and value B which represents the number of events that are expected to be completed. I have created a calculated field which calculates the percentage of events completed, however I need to present the percentage of events not completed i.e. 100% - (Value A/Value B).

I have tried 1 - (Value A/Value B), however it is giving me numbers like the below.

@Ivy
Can you please clarify if the first column in the image is Value A and second one is Value B? Can you also please share the calculated field you used for the percentage of events completed.

if you have computed percent of events computed, then you can use 1- percent of events completed unless there is no third category.

Value A is exception_count which is the first column and Value B is maximum_exceptions which is the second column. If I calculate the actual percentage of Value A it is no problem, and calculates it correctly, but calculating the remaining percentage gives me a result like in the initial photo.

This might work at the most granular level. However, if you using this in table or any other visual where aggregation at higher level happens, please use aggregation in the formula like below:

Hi, @Ivy. We hope Vetriâ€™s solution worked for you. Let us know if this is resolved. (And if it is, weâ€™d love it if you could click/tap â€śSolution" under his answer.) Thanks! And, welcome to the QuickSight Community.

My guess is that this might be due to the Column that you have added to the pivot as its doing another group by based on the columns and impacting the calc of the %. If i do a plain example, with no columns - percentages are calculated accurately with the formula you are using.

Hi, @Ivy. We hope Ramonâ€™s solution worked for you. Let us know if this is resolved. (And if it is, weâ€™d love it if you could mark his answer as a â€śSolution.â€ť) Thanks!

Hi, @Ivy . Did @Ramon_Lopez solution work for you? I am marking his reply as, â€śSolution,â€ť but let us know if this is not resolved. Thanks for posting your questions on the QuickSight Community Q&A Forum!