Time travel in the classic Workbook Editor
This page covers time travel in the classic Workbook Editor. Time travel queries your tables as they were at an earlier point in time, including rows that have since been changed or deleted. You can set it for the whole workbook from the filter bar, or for one object in its properties panel.
Use it to report on a past state without rebuilding that state from date fields. It helps wherever a model spreads state across several date fields, such as contract start and end dates or customer churn. In the HR schema below, seeing the workforce as it was last month would otherwise mean filtering on start, end and hire dates across two tables; with time travel you query last month’s data directly.

Before you start
Section titled “Before you start”- A supported data source. Time travel works on Snowflake, Google BigQuery and Databricks connections. On other sources the filter bar does not show it, and an object with time travel set cannot load its data.
- A table type the warehouse can time travel. On Databricks, time travel works on Delta
tables. On Google BigQuery, most external tables do not support it, and a table that has or had a
row-level access policy needs the
bigquery.rowAccessPolicies.overrideTimeTravelRestrictionspermission for the account the connection queries with. - Tables, not views. Astrato applies time travel to tables, not views, so an object that reads a view with time travel set may fail to load. To time travel over a view’s logic, see Time travel over custom SQL.
- Retention in your warehouse. How far back you can go is set by your warehouse, not by Astrato. See Limits.
Choose a mode
Section titled “Choose a mode”Both the filter bar and the object settings offer two modes:
- Date queries a fixed moment. The data as it was then does not change from one query to the next, so use it for analysis that must stay reproducible, within your warehouse’s retention (see Limits). On Snowflake the query uses the table’s current columns, so adding or dropping a column later can still change the result.
- Offset queries a point a set time before now, worked out again every time the data is queried. With an offset of one hour, each query returns the data as it was one hour before that query ran, so results move forward as time passes. Use Offset on Snowflake and Databricks; on Google BigQuery, use Date mode instead.
Let viewers time travel from the filter bar
Section titled “Let viewers time travel from the filter bar”Time travel in the filter bar applies to every object in the workbook, except an object with its own setting: an object’s setting takes precedence.
- Select the filter bar and open the Filter Bar tab of its properties panel.
- In the Settings section, turn on Time travel. It is off by default.
- Set Max time travel days, from 0 to 90; the default is 1. This is how many days back viewers can go. Match it to your warehouse’s retention.
The filter bar now shows a time travel chip. To travel back:
- Select the chip. A popover opens in Date mode at the current time; the time zone it uses is shown at the top.
- Choose Date or Offset.
- In Date mode, set the day, then use the arrow to move to the time, which moves in 30-minute steps.
- In Offset mode, set the days, then use the arrows to move to hours and minutes. At the maximum number of days, hours and minutes stay at zero.
- Select Apply filters (the tick) to apply the change, or Cancel selection to discard it.
To stop time travelling, select the cross on the chip.


A bookmark that saves the workbook’s selections also saves the time travel set in the filter bar, and applies it again when it is opened. For the other filter bar settings, see Filters.
Time travel one object
Section titled “Time travel one object”Setting time travel on one object lets you compare past and present side by side, for example two number objects showing the same measure, one of them one day earlier.
- Select the object and open the Filter tab of its properties panel.
- Expand Time travel and choose Date or Offset. None, the default, turns it off.
- Set the point in time:
- For Date, choose the day and month, from today back 90 days, and the hour under Time. The date and hour are read in the time zone of the browser that runs the query.
- For Offset, set Days (0 to 90; 1 when you first choose Offset), Hour and Minutes.

For the chart and measure filters on the same tab, see Chart filters.
An object’s own time travel setting takes precedence over the one in the filter bar.
The tooltip on the Time travel section describes it as a Snowflake feature; it applies to BigQuery and Databricks sources as well.
Time travel over custom SQL
Section titled “Time travel over custom SQL”Your warehouse supports time travel on tables, not views. To time travel over a view’s logic, copy its SQL into a
Custom SQL query in the data view and write {TT} after each table name:
SELECT employee_id, salary, hire_dateFROM hr.employees {TT}WHERE manager_id IS NOT NULLWhen time travel is set, Astrato replaces each {TT} with your warehouse’s time travel clause. When
it is not, Astrato removes {TT} and the query reads current data.
Limits
Section titled “Limits”Each warehouse sets its own retention, and a query cannot reach back further than it:
- Snowflake: retention is 1 day by default. On Enterprise Edition and higher, permanent databases, schemas and tables can keep from 0 to 90 days. See Understanding and using Time Travel.
- Google BigQuery: the time travel window is set per dataset, from 2 to 7 days; 7 is the default. See Data retention with time travel and fail-safe.
- Databricks: how far back you can go depends on the table’s Delta history and file retention settings. See Work with Delta Lake table history.