Skip to main content
Good Transactions are simple to read and safe to reuse. Several models may read the same records, so a small problem in Transactions can spread to many reports. These habits help you avoid that.

Keep one record per row

Decide what one row represents, such as one invoice or one customer per month. Don’t mix grains in the same table. Mixed grains double-count when a model sums the values.

Bring in only what models need

Add only the variables and Segment by fields that a model or review uses. Fewer columns are easier to check and map.

Keep records raw and logic in models

Store source records in Transactions. Put calculations, drivers, and planning assumptions in the model. Use Transaction formulas only for one-off, record-level corrections.

Set the Date Column and Segment by deliberately

  • Choose a Date Column that matches how you report, such as invoice date rather than payment date.
  • Map Segment by fields to the dimensions your models already use, such as Region or Plan.
  • Keep dimension values consistent. For example, don’t mix EMEA and Europe for the same region.

Treat structure changes as shared changes

Before you rename a variable, change the Date Column, or change a Segment by mapping, check the linked models. Tell the model owners what will change. See Linked data.

Name an owner for each integration-backed table

Each integration-backed Transactions table should have someone who:
  • picks the refresh frequency
  • reviews query changes
  • fixes connection problems
  • tells model owners when the data changes

Remove stale Transactions

Delete Transactions that no one uses anymore, after you check that no model links to them. Stale tables lead people to build on old data.

Checklist before models rely on Transactions

  • One clear grain per row
  • A Date Column is set
  • Variables and Segment by fields have clear names
  • The refresh frequency matches how often the source changes
  • Linked models show the values you expect