Taking the average over a calculated field, receiving error in KPI and tables

looking for help on ways to calculate an average over a calculated field.

In example, would want to take the average of cost_depletion_days per patient (244 and 259) - KPI that would show 251.5.

example

Hi @mroo11,

What was the calculation you tried that led to the error? And what type of error did you receive?