User Tools

Site Tools


transformations:peek

PEEK

Category: Transform / Basic


Description

This action takes a value from another table and creates a new column populated with this value.


Use cases

A typical use case for this action would be bringing in a total value from another table for further calculation - such as % from the total.


Action settings

SettingDescription
Peek from tableSelect the table the value resides in.
From columnSelect the column the value resides in.
FromInput the row the value resides in. Options: Row #* (select the specific row number the valued resides in) and
Last row (pull the value from the last row in the column).

* Setting can be specified using a parameter.


Examples

Example #1

Append Total amount to each row in Table 2

Before (source table)

Table 1: Total amount value

Province Total Amount
All 4500

Table 2: Provincial expenses

Province Amount
Ontario 1000
British Columbia 1500
Quebec 2000

After (result table)

Province Amount Total Amount
Ontario 1000 4500
British Columbia 1500 4500
Quebec 2000 4500

Action parameters

Peek from Source table A
From column Total Amount
Row # 1


Community examples


See also

transformations/peek.txt · Last modified: 2025/01/10 11:25 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki