Function: minus(sum(mean(numbers('yyx'), numbers('xry')), numbers('yyx')), mean(numbers('yyx'), numbers('xry'))) if sum(mean(numbers('yyx'), numbers('xry')), numbers('yyx')) > sum(mean(numbers('yyx'), numbers('xry')), numbers('yyx')) if numbers('yyx') > minus(sum(mean(numbers('yyx'), numbers('xry')), numbers('yyx')), mean(numbers('yyx'), numbers('xry'))) else mean(numbers('yyx'), numbers('xry')) else mean(numbers('yyx'), numbers('xry'))