In a sweep, you can get the mean value of the result:

Actually you can use getsweepresult sctipt comman to extract the data:
getsweepresult - Script command
then you can do more operation, such as mean:
mean - Script command
or any other post processing. To use the software efficiently, I would strongly suggest to learn more about the scripting.
https://optics.ansys.com/hc/en-us/categories/360001998954-Scripting-Language