How can I create a custom calculation which will determine if any blanks in a sequence have peaks?

I am using the following code to determine if any peak in the blank has an area greater than our reporting limit peak area. However, in my report any blank without peaks is not analyzed. I'd like to report that no peaks were detected but am struggling to find a good way to do that.

If(Compound_Name.Length < 1
If(Peak_Area < CurrentSequence.AllIdentifiedPeaks.Where(function (x) x.Injection.Sample.Sample_Type = 7).Where(function (x) x.Compound_Name = "DrugA").Select(function(x) x.Peak_Area).Last,

Was this helpful?