• Does this do it?

    =Sum(iif(ReportItems!Test.Value = "Pass", 1, 0))

    Cheers

    Gaz