Hi,
I'm trying to make a custom calculation to calculate the average of multiple injections in a sequence that are samples from the same batch. I've put the batch number in the sample label and tried using this expression: CurrentSequence.AllPeaksAndGroups.Where(function (x) x.Injection.Sample.Sample_Label).Where(function (x) x.Injection.Sample.Sample_Type= 3).Select(function(x) x.Compound_Concentration).average
but it doesn't seem to work.
Any help would be appreciated thanks.