This action conditionally shifts the values of selected columns to the left or right.

Parameters:
Column of flag (idFlag)
Specifies the column that triggers the shift operation. When a condition is met in this column, the shift is applied.
Columns to shift (idSources)
A list of columns whose values should be shifted.
Shift (right if positive) (shiftV)
A positive number shifts values to the right; a negative number shifts them to the left.
Put NULL inside old cells locations (idPutNull)
When enabled, fills the original positions with NULL after shifting. If disabled, the values are overwritten.
See dedicated page for more information.
See dedicated page for more information.
This action conditionally shifts the values of selected columns to the left or right based on a flag column. It can be used for realigning data when certain conditions are met, such as merging, padding, or compressing column values.
Note: This action is useful when needing to re-align data columns conditionally based on flag logic or pattern shifts in data structures.
Input Table
| C1 | C2 | C3 | C4 |
|---|---|---|---|
| 1 | 2 | 3 | 4 |
Parameters:
Result:

Explanation:
Each selected column (C2, C3, C4) is shifted right by 1 position. Since the rightmost column has no space to move into, it's dropped, and null is inserted at the start.
Parameters:
Result:

Explanation:
Selected columns shift left. Last column receives null.
Parameters:
Result:

Explanation:
Only column C1 shifts to C2. The previous C1 is set to null.
Parameters:
Result:

Explanation:
C3 shifts into C2, C4 into C3, and the last becomes null.
Note: The "Modality describing NULL value" was set to the literal string
nullin the input definition, which is used for display and comparison of missing values.
