Skip to main content
Trims a stream of dated properties to a date window and carries the last-active value before the window forward to the window’s start. Example: [DP(1, 2019-01-01), DP(2, 2019-06-01), DP(3, 2021-01-01)] sliced from 2020-01-01 becomes [DP(2, 2020-01-01), DP(3, 2021-01-01)]. The pre-window value is preserved but its valid_from is moved up to the window’s start.

Inputs

  • Data / default in — the dated properties to slice.
  • From — optional. The lower bound. Properties before this are dropped, but the most recent pre-window value is rewritten to start exactly at this date. Leave unwired (or clear in the inspector) for no lower bound.
  • To — optional. The upper bound. Properties after this are dropped. Leave unwired (or clear in the inspector) for no upper bound.
Both bounds can also be set inline in the inspector. The inline value is used only when the corresponding port is not connected.

Tips

  • Each independent id is windowed in isolation, so a stream that mixes different dated-property identities keeps its per-id history.
  • Pair with At Moment when you want a single snapshot rather than a windowed timeline.

Ports