I'm trying to find a way to find the whole substituted events that are in a List of PIPoints.
The problem is that the Performance Equation "IsSet" which seems to be the right one gets a TAGNAME which should not been given as it is related to the list of PIPoints.
var result = pointlist.FilteredSummaries(timeRange, new AFTimeSpan(timeRange.Span), "IsSet('TAGNAME', \"s\") = 1",
AFSummaryTypes.Count, AFCalculationBasis.EventWeighted, AFSampleType.ExpressionRecordedValues,
AFTimeSpan.Zero, AFTimestampCalculation.Auto, conf);