Filter expression for inputs to a Rollup
As a user configuring a Rollup analysis, I want to be able to apply a filter expression on the inputs so that the Rollup only includes inputs that satisfy a condition.
Note: This was previously Enhancement 114349.
James Lewis [Capula Ltd] commented
This feature would allow counting active alarm tags. Currently it is only possible to rollup active alarm tags if the active state has the state no 1. In my current case, there are a mix of tags from different control systems and for some state no 1 means inactive. There are workarounds, but a filter expression would be easier to implement and keep configuration simple.
Mary Bellinger commented
Tank inventory volumes by product type. We cannot use a fixed tank product type, because the products can change. So the ability to add volumes based on the current product requires this flexibility.
As touched upon by volljm below, I would extend this to ensure that System Explorer analysis configuration has most of the functionality that PI Datalink has. This makes it easier for power users to migrate to a PI admin role.
I find this useful as well, but would like to request if string concatenation could also be included?
Frank Walsh commented
Encountered a similar case :: user was was trying to rollup the Volume (Attribute, PITag) of separate Tanks (Elements) that had variable content types (Attribute, PITag). Since the tank content is changing, the fairly simple conditional sum of Tank Volume required ACE code.
This would be very helpful trying to totalize/manage various liquor inventories in a kraft pulp mill liquor cycle.
Matt Voll commented
agreed . . . one of PIAF's biggest short comings in comparison to Excel Datalink is not having an easy, intuitive way to do any of the calculation functions with a filter. I understand it can be done with multiple analyses, but that approach gets messy with all the extra outputs and analyses that are simply intermediate values.
We need a mean to be able to filter an expression on a condition like: "what is the average load on a motor for the last hour only when it is running".