--- title: "How Deleted and Archived Records Appear in Your Data" slug: "how-deleted-and-archived-records-appear-in-your-data" updated: 2026-11-20T17:15:04Z published: 2026-11-20T17:15:04Z canonical: "docs.tuggerapp.com/how-deleted-and-archived-records-appear-in-your-data" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.tuggerapp.com/llms.txt > Use this file to discover all available pages before exploring further. # How Deleted and Archived Records Appear in Your Data When a record is deleted in your source system, Tugger doesn't remove it from your data. It keeps the row and marks it as deleted. This article explains how to spot deleted and archived records, and how to leave them out of your reports. ## The Deleted column Every table Tugger syncs has a **Deleted** column, set to **true** or **false**. - **false** - the record still exists in your source system - **true** - the record has been deleted in your source system When Tugger notices that a record has been deleted, it sets **Deleted** to **true** and keeps the row. If the record comes back, for example because someone restored it, Tugger sets **Deleted** back to **false**. For many connectors, related records are marked too. For example, when a Pipedrive deal is deleted, its products are also marked as deleted. If your connector doesn't do this, leave out related records whose parent is marked as deleted, by joining the related table to its parent table and filtering the parent on **Deleted**. > **Why keep deleted records?** It lets you see what was removed, and it means nothing disappears from a historical report without you knowing. ## Leaving deleted records out of your reports ### In Power BI, Excel and Tableau Your data feeds include deleted records, so filter them out in your report. In Power BI: 1. Click **Home**, then **Transform data** 2. Select the table 3. Click the drop-down arrow on the **Deleted** column 4. Untick **TRUE** and click **OK** 5. Do the same for each table you use, then click **Close & Apply** In Excel, click **Data**, then **Get Data**, then **Launch Power Query Editor**, filter the **Deleted** column the same way, and click **Close & Load**. In Tableau, add a filter on **Deleted** and keep only **False**. > **Note:** Some connectors also provide ready-made reporting views, whose names start with **vw_**. These already leave deleted records out. > **Tip:** If your totals are higher than in your source system, a missing **Deleted** filter is the most common reason. ### In AI Insights You don't need to do anything. AI Insights leaves deleted records out automatically. ## Archived and inactive records Deleted and archived aren't the same thing. Many systems let you archive a record, or mark it as inactive, without deleting it. An archived customer still exists. It is just hidden from day-to-day lists. Tugger keeps archived records, with **Deleted** set to **false**, so that your history is complete. To tell them apart, use the source system's own column. The name depends on the system, for example: - **Archived** (true or false), for example on Simpro employees and contractors - **ContactStatus** on Xero contacts (for example **ARCHIVED**), and **Status** on Xero invoices (for example **VOIDED** or **DELETED**) - **archived** on HubSpot records - **Active** or **Inactive** in other systems To show only current records, filter on that column as well as **Deleted**. The setup guide for your connector, and AI Insights, can tell you which column a table uses. ## When a deletion shows up Tugger picks up a deletion the next time it syncs that kind of record, usually within your normal sync schedule. Each sync looks back over your recent history to catch changes. If a record was deleted a long time ago, outside that window, it may still show **Deleted** as **false**. A few systems also don't tell Tugger about some deletions at all. If you know that older records have been deleted, or a total still doesn't match after a sync, a re-tug can help. It clears the connector's data and reads your full history again, so records that were deleted in your source system are no longer included at all. A re-tug can take hours or days, and your reports are incomplete until it finishes, so [contact us](https://tuggerapp.com/Contact) first if you aren't sure. See [How to Re-Tug](/docs/how-to-re-tug). --- ## Related articles - [Why Your Numbers Differ From Your Source System](/docs/why-your-numbers-differ-from-your-source-system) - [How to Re-Tug](/docs/how-to-re-tug) - [Data is Missing in Power BI Desktop](/docs/data-is-missing-in-power-bi-desktop)