Calculations
Calculations
Calculations let you create derived tags, assets, and timeframes from existing data — without modifying the underlying database. Once created, they appear in tag search and can be dragged onto any component like a regular tag.
Calculations is being updated
The Calculations experience is being actively improved. The steps and screenshots on these pages reflect the current build; expect the UI paths and images to be refreshed as the updated feature ships.
Which Calculation Type to Use
| Scenario | Use |
|---|---|
| You have OSIsoft PI and need to transform PI points or AF attributes on the fly | PI System Calculations |
| You want to avoid setting up AF Analytics | PI System Calculations (no AF setup required) |
| You are using any other data source (SQL, Historian, ADX, etc.) | Python Calculations |
| You need to join data from multiple sources into one output | Python Calculations |
| You are migrating from PI Vision and already have Performance Equations | PI System Calculations |
Tips
If you were using PI Vision Performance Equations to scale or transform data before charting, the equivalent in IOTA is PI System Calculations. The syntax is the same.
PI System Calculations
For OSIsoft PI environments. Uses PI Performance Equations (PE) syntax to transform PI points or AF attributes on the fly — no AF Analytics setup required. See PI System Calculations for full reference.
Python Calculations
For all other data sources. Runs server-side Python scripts that produce output tags, assets, or timeframes consumable by any component. See Python Calculations for full reference.
What's Next
The two calculation engines work differently depending on your data source. Start with the PI-specific approach — Performance Equation syntax that transforms PI points and AF attributes on the fly. Continue to PI System Calculations.
Related
- PI System Calculations — calculations on a PI/AF source
- Python Calculations — Python-based calculations
- Searching for Data — find calculated results to display