Lookup
Use this when you want to add extra information by matching values in your data against a reference table.
Lookup — DF_LOOKUP
Match values in one column against a reference table and add extra columns from that table.
Use this when: your data has a code or ID and you want to append readable names or additional properties — for example, device type names, location labels, or tariff bands.
Before
Code
Lookup reference
Code
After
Code
Code
You can also reference a second query result as the lookup source using "lookupFrameIndex" instead of "lookupData".
Config from Query — DF_CONFIG_FROM_QUERY
Pull settings — like thresholds or limits — out of one query result and apply them as constants to your data.
Use this when: a configuration value lives in a separate query (for example, a per-device alert threshold stored in a settings table) and you want to attach it to every row.
Config query result
Code
Main data — before
Code
After — the config values are mapped onto each row
Code
Code
configFrameIndex points to the query that holds the config. outputMapping maps each output column to the config key it reads from.