Analyses can suffer from bad calculations due to bad events for a tag, such as system digital state events returned for a numerical tag.
Although BadVal() can be implemented to avoid using bad events in these analyses, they add another layer of complexity the expression.
The addition of a "Use Good Data" only option in the analysis tab in PSE that applies BadVal handling on top of an analysis would help simplify expressions.
I've been migrating PI-ACE to Analytics. There is some need to do the same Bad Value replacement and Low/High Limit clamping of inputs AND outputs with Previous Value or a Constant.