Conditional Average formula

Hi, 

i need to calculate the average of opportunities related to a single project, considering only the opportunities of a certain type ("slave_opportunity").
I've tried with different versions of the following formula with no luck...

ifElse(equal($project_opportunities_1,"opportunity_type","slave_opportunity"),rollupAve(related($project_opportunities_1,"amount"),0)

anybody can help? thank you

Parents Reply Children
No Data