Sub topic 3
Telling the three problems apart in a report
This chapter assumes you know the GA4 Reports and Explore interface, the difference between dimensions and metrics, and basic SQL or Python. Thresholding, sampling, and the (other) row each change numbers in a different way, so start by identifying which one applies.
Telling the three problems apart in a report
| Symptom in the report | Likely cause |
|---|---|
| Rows are missing, or counts are very small | Data thresholding |
| An Exploration shows a sampling indicator, and totals shift when you rerun it | Sampling |
| A row labeled (other) appears in a table with many distinct values | The (other) row |
Reducing the impact through report design and settings
- Widen the date range to raise counts above thresholds.
- Remove demographic or Google signal filters that trigger thresholding.
- Shorten the date range in Explorations to stay within the sampling quota.
- Replace high-cardinality dimensions, such as full page paths, with broader ones, such as content group.
Checking for data loss with the Data API
The Data API response reports whether data was lost. Replace the property ID with your own.
from google.analytics.data_v1beta import BetaAnalyticsDataClient
from google.analytics.data_v1beta.types import DateRange, Dimension, Metric, RunReportRequest
client = BetaAnalyticsDataClient()
request = RunReportRequest(
property="properties/123456789",
dimensions=[Dimension(name="pagePath")],
metrics=[Metric(name="activeUsers")],
date_ranges=[DateRange(start_date="2026-01-01", end_date="2026-01-31")],
)
response = client.run_report(request)
print("Rows returned:", len(response.rows))
print("Data lost to (other) row:", response.metadata.data_loss_from_other_row)
print("Subject to thresholding:", response.metadata.subject_to_thresholding)Getting around the limits with the BigQuery export
The BigQuery export stores unaggregated event data, so it has no sampling, thresholding, or (other) row. This query counts daily users per page. Replace the project, dataset, and dates with your own.
SELECT
event_date,
(SELECT value.string_value FROM UNNEST(event_params) WHERE key = 'page_location') AS page_location,
COUNT(DISTINCT user_pseudo_id) AS users
FROM `my-project.analytics_123456789.events_*`
WHERE _TABLE_SUFFIX BETWEEN '20260101' AND '20260131'
AND event_name = 'page_view'
GROUP BY event_date, page_location
ORDER BY users DESC;Choosing the right surface for the question
| Question | Surface |
|---|---|
| Quick overview of standard metrics | Standard reports |
| Multi-dimension analysis | Explorations, checking the sampling indicator |
| Automated checks for data loss | Data API with response metadata |
| Exact event-level counts | BigQuery export |
Exercise
A standard report shows 40 pages, but the Data API response says datalossfromotherrow is true. Which problem are you seeing, and what is one fix?
Show answer
The (other) row, caused by high cardinality. Fix it by using a broader dimension, such as content group, or by querying the BigQuery export.