Choose one GA4 export representation for each reporting day. Do not union every table beginning with events_ and assume each row represents additional activity. Daily and intraday tables describe different stages of the export lifecycle; their coexistence is not evidence of two separate audiences.
The deliverable is a source-selection manifest: expected day, available table families, chosen source, retrieval time and completeness state. Build that manifest before the content totals. If the report requires completed daily data, a provisional intraday row is a reason to hold that day, not a substitute silently presented as final.
Verify the Table Lifecycle
Google’s export schema says the daily export creates events_YYYYMMDD, while streaming creates events_intraday_YYYYMMDD and populates it during the day. The intraday table is deleted once the corresponding daily table is complete. Availability needs inspection in the actual authorized dataset; do not infer completion from the wall clock alone.
The export overview describes differences in freshness and field availability. Streaming is available for Standard and 360 properties under its stated conditions; this article does not enable it or assume every dataset has it. A sandbox or an unconfigured export can have a different available inventory.
The nested-array review handles row multiplication inside an event. Here the error happens earlier: choosing overlapping sources before any array is flattened. Repairing one does not repair the other.
Work Through Four Expected Days
Use this fictional inventory for one namespace and one agreed event definition. Counts are invented row counts after the same event selection, not captured property results. The available intraday counts need not equal the later daily counts. No event-level matching is asserted.
| Day | Daily rows | Intraday rows | Selection | Reporting state |
|---|---|---|---|---|
| D1 | 40 | 40 | Daily: 40 | Daily source selected |
| D2 | 90 | 50 | Daily: 90 | Daily source selected |
| D3 | Absent | 30 | Intraday: 30 | Provisional only |
| D4 | Absent | Absent | No source | Unresolved |
The verified daily-source subtotal is 130. The provisional subtotal is 30. Their explicitly qualified available-source total is 160 across three days; the fourth expected day remains unresolved. A blind sum of all available counts would be 250. That arithmetic does not establish ninety duplicate event identities: it establishes that the aggregation mixed source representations.
A completed four-day report is not ready. If leadership needs an early view, name the three-day available scope and preserve the provisional and missing states. Do not describe D4 as a zero day, and do not compare the partial total with an earlier complete four-day window without explaining the difference.
Execute the Selection Contract
This local Python models the declared source policy. The caller supplies trusted inventory evidence; the function does not discover tables, query BigQuery or establish completeness.
inventory = [('D1', 40, 40), ('D2', 90, 50),
('D3', None, 30), ('D4', None, None)]
def choose(day, daily, intraday):
if daily is not None:
return day, 'daily', daily
if intraday is not None:
return day, 'provisional', intraday
return day, 'unresolved', None
selected = [choose(*row) for row in inventory]
assert selected == [('D1', 'daily', 40), ('D2', 'daily', 90),
('D3', 'provisional', 30), ('D4', 'unresolved', None)]
assert sum(n for _, state, n in selected if state == 'daily') == 130
assert sum(n for _, _, n in selected if n is not None) == 160
assert sum(n for _, d, i in inventory for n in [d, i] if n is not None) == 250
assert choose('D5', 0, 9) == ('D5', 'daily', 0)
assert choose('D6', None, 0) == ('D6', 'provisional', 0)The zero cases matter: a verified source count of zero must not be mistaken for an absent source by a truthiness test. Conversely, an inaccessible table must not be recorded as a zero merely because the application caught an exception. The manifest needs evidence states as well as numeric values.
Choose Fields That Both Sources Can Support
A mixed daily/provisional report also needs a field contract. The schema states that is_active_user is populated only in daily tables. A missing intraday flag is therefore not an observed false value. The source selector cannot make incompatible fields comparable by filling nulls with zero or false.
Write the required columns beside the report definition. If a metric depends on daily-only evidence, do not publish that metric for D3 under the fictional selection above. A simpler provisional event count may be possible, but it is a different report with a clearly narrower meaning.
Use the report-quality review when comparing the resulting warehouse view with a GA4 interface report. Selecting the intended tables does not make modeled or estimated interface measures identical to export counts.
Keep the Handoff Reproducible
Preserve the expected-date roster independently of existing table names. Record dataset namespace, exact chosen table, selected columns, event filter, extraction time and whether partial reporting was approved. If a daily table replaces an intraday choice, recompute that day rather than appending a second observation.
For an authorized production implementation, test an unavailable day, an empty but verified table, a day with both sources, and a field absent from the provisional source. Preserve the actual selection result and query revision. The export-completeness ledger offers a related dependency discipline for a different pipeline.
Approve when each included day has one justified source and its limitations survive the dashboard handoff. The practical result is an interpretable content report. It is not proof of complete visitor collection, a new demand increase, or a reason to enable billing or change export settings.
