Survey banner
The Dataiku Community is moving to a new home! Some short term disruption starting next week: LEARN MORE

Dataiku Equivalent for SAS Retain

Level 2
Dataiku Equivalent for SAS Retain

Is there a step or transformation within Dataiku that can be used as an alternative to the Retain step in SAS.  In simple form SAS Retain step remembers the value of a particular column from a previous row and populates that in the current row

0 Kudos
1 Reply
Dataiker Alumni


You can use a window recipe and the lag (or lagdiff) aggregator, which enables you to pull a value from a previous row.

Here is a video from our academy on the Window recipe:

I hope this helps.