Formula Builder
The Formula Builder allows you to create new Virtual Tags using existing telemetry values, attributes, and constant values. Generated Virtual Tags can be used throughout the platform just like regular telemetry in dashboards, reports, alarm rules, and additional Virtual Tag calculations.
Formula Builder
To create a new Virtual Tag, first select the target device where the calculated value will be stored. Then choose the calculation type, add the required data sources, and save the result using a unique target key.
Create a New Virtual Tag
The Formula Builder provides a single interface for configuring the target device, calculation type, execution target, and data sources.
Target Device
Specifies the device where the calculated value will be stored.
Target Key
Defines the unique telemetry key for the generated Virtual Tag.
Calculation Type
Choose from addition, subtraction, multiplication, division, average, derivative, or custom expression.
Data Sources
Add telemetry values, attributes, or constant values to be used in the calculation.
Formula Components
Each section of the Formula Builder controls a different part of the calculation. A well-structured formula is easier to maintain and reuse across different scenarios.
Target Device
OutputTarget Key
TelemetryExecution Target
ProcessingData Sources
InputCalculation Types
The selected calculation type determines how the source values are processed. While most calculations only require source values, some advanced operations provide additional configuration options.
Standard Operations
ADD • SUB • MULT • DIV • AVGAdvanced Operations
DERIV • CUSTOMCreation Process
Creating a Virtual Tag follows a simple workflow to ensure the calculation is configured correctly and can be reused throughout the platform.
Target Device
Select the device where the calculated value will be stored.
Calculation Type
Choose the calculation method that matches your requirements.
Add Data Sources
Configure telemetry, attributes, or constant values for the calculation.
Save
Complete the configuration and create the Virtual Tag.
Best Practices
Source Configuration
Calculation Types
Gateway Processing
Result
After the formula is created, the generated Virtual Tag behaves like any other telemetry value. It can be displayed in dashboards, included in reports, used in alarm rules, or referenced by additional Virtual Tag calculations.