Ssrs sum if. The COALESCE function will also work in SQL Server.