ETLMCPData Conveyance Works
Log in Start free
Guides

Tableau incremental extract refresh on etlmcp tables: re-pull the restated days

How to set up a Tableau incremental extract on an etlmcp table so the days each sync rewrites are re-extracted instead of keeping their first figures.

If you turn on incremental refresh for a Tableau extract built on an etlmcp table, set Minimum date range to refresh on the date column to at least as many days as the pipeline re-pulls on each sync. Without it, an incremental refresh only brings in rows dated after what the extract already holds. etlmcp keeps rewriting the most recent days as ad platforms correct their figures, so an extract that only appends keeps the first numbers it saw for each day. The totals drift from the database with no error.

Why appending is not enough

Every routine etlmcp sync pulls a trailing window of days and replaces them. The window is 7 days by default, and longer for platforms that restate a day's figures for longer:

Platform Days each routine sync rewrites
Google Ads 31
Microsoft Advertising 31
LinkedIn 31
Meta 29
TikTok 29
GA4 13
Shopify 58

In the PostgreSQL destination, a load deletes that pipeline's rows between the first and last date of the run, then inserts the new rows. Each row carries the pipeline's id in _etlmcp_pipeline_id, so other pipelines in the same table are untouched. See how PostgreSQL rows are replaced.

Tableau's incremental refresh works differently. You pick a column that identifies new rows, such as a Date or Datetime field or an ID that grows. Tableau remembers the highest value already extracted and, on each incremental refresh, adds rows above it. Under Advanced Settings you can also choose to re-pull rows equal to that value, which replaces only the last day. Neither option revisits the earlier days of etlmcp's window, so a Meta conversion count from three weeks ago never updates.

Set the minimum date range

Tableau 2024.2 and newer add Minimum date range to refresh for a Date or Datetime column. You give a number and a time unit, such as days or months, and on each incremental refresh Tableau pulls the current unit plus that many earlier units again, rather than only rows newer than the extract.

  1. In the extract settings, choose to extract all rows and turn on incremental refresh.
  2. Pick date as the column that identifies new rows.
  3. Set the minimum date range to the pipeline's window or longer, in days. If several pipelines write to the table, use the longest window among them, for example 58 days when a Shopify pipeline shares it.
  4. Add a few days of margin. After missed syncs, for instance while a source needed reconnecting, the next sync can reach back further than its usual window.

Tableau recommends the smallest time unit that fits, so use days rather than months.

Conditions and limits

  • Incremental refresh is offered only when the extract takes all rows, not a sample, and only when aggregation is off.
  • Adding extract filters makes the Advanced Settings unavailable, and Tableau then keeps the last rows it added rather than replacing them.
  • When the source's structure changes, such as a new column, Tableau needs a full refresh before incremental refreshes work again. etlmcp adds a column to an existing table whenever a platform starts reporting a field it had not sent before; those columns start with extra.. Expect to run a full refresh after that happens.
  • A backfill you run by hand for an older range rewrites days outside the minimum date range. Only a full refresh brings those into the extract.

Tableau also suggests pairing routine incremental refreshes with a regular full refresh, weekly for instance, so the extract stays matched to its source. With etlmcp tables that weekly full refresh also picks up hand-run backfills and new extra. columns.

For the connection itself, see connecting Tableau to the etlmcp PostgreSQL table, and for timing refreshes after syncs, see Tableau Cloud data freshness.

Related

Sources

  1. Refresh Extracts — docs.salesforce.com, checked