Get the value corresponding to a particular day in the past.

Parameters:

Parameters:
See dedicated page for more information.
The valueBackInTime action retrieves a historical value for a specified numeric column based on a date offset. It scans a time series dataset and, for each partition group, identifies and returns the value from N days prior to the current row’s date.
Input Table Requirements:
Date Format:
d/M/yyyy)📌 Input Table Example

N days back for each row, within its partition group.writeCSV action (configured to save in the records/out directory).📌 Output Table Example

Load Input File
Use a readCSV node to load your dataset containing the necessary columns.
📌 readCSV Configuration

Sort the Data
Add a sort action and configure it to:
region (alphabetically, Aa..Zz)date (chronologically)📌 Sort Configuration

Configure Parameters
Add the valueBackInTime action and configure its parameters based on your column names and desired number of days to look back.
📌 valueBackInTime Configuration

Write Output File
Add a writeCSV node:
records/outrecorded data📌 writeCSV Configuration (Standard)

📌 writeCSV Configuration (Advanced)

Run the Pipeline
Execute the pipeline and check the Records tab for the generated output file.
📌 Successful Run Log

Error: "Input must be sorted..."
Ensure that the sort action has the partition column first and date column second.
Error: "Cannot open CSV file 'records/' for write"
The output path must include a filename (e.g., records/out.csv, not just records/).
No output file appears
writeCSV is placed after the valueBackInTime action