Using ifelse and Sumif

hi @Sarmie ,

Welcome to Quick Sight Community!

for aggregation mismatch error, we have an article to explain how to resolve.

Would you be able to try to see if you can resolve the error?