Allow Asset Analytics to Evaluate functions for questionable flagged values
Data can be flagged as questionable, which should mean the value may or may not be valid. Asset Analytics seems to be rejecting the value as Bad. The function instead should evaluate the result, but flagging the result as questionable as well.
I am voting for this as I agree with MAI's comment. Having an optional parameter for inclusion/exclusion of the questionable flag would be valuable to many of the AF analysis functions.
A similar use case is outlined here:
https://pisquare.osisoft.com/thread/15041-howto-set-the-pi-tag-questionable-flag-from-af-analysis
with known issue referenced: 116667 - Support setting data quality related flags from analysis (no external link at this time).
Related known issue is BadVal handling of questionable data:
https://customers.osisoft.com/s/knowledgearticle?knowledgeArticleUrl=EC047944-1AC3-7C19-807E-1815B63A6944
I noticed that some functions are excluding questionable values (Avg, SStDev,...) while others are including them (TagMean, StDev,...): this is misleading.
Moreover, there should be more coerence between PE and AF Analysis, as in case of only questionable values an expression like
Avg(TagVal('tag1','y'),TagVal('tag2', 'y'))
would work in PE and fail in AF.
I voted this idea as I agree that the result of questionable values is questionable too.
For the future, I would suggest to implement an optional parameter Questionable/NoQuestionable for all the statistical functions, in order to include/exclude questionable values.
I am voting for this as I agree with MAI's comment. Having an optional parameter for inclusion/exclusion of the questionable flag would be valuable to many of the AF analysis functions.