I have a SQL which counts the number of rows. Say the result is 80.

I would like to have a parameter that is user-input, to be the total. Lets say the user enters 100.

How would I use the two numbers, 80 and 100, to create a pie chart that shows the data takes up 80% of the total?

I cannot find a way to add custom slice in a pie chart in Crystal Report, is it even possible?

Thanks!