Why Validate Metrics?
Validating metrics helps you:- Confirm the metric calculates as expected
- Verify data joins and aggregations are correct
- Check that the metric responds to known treatment effects
- Inspect the underlying SQL for correctness
- Build confidence before using the metric in production experiments
Before You Begin
- A completed experiment with known results
- A newly created metric that uses the same entity as the experiment
- Access to create explorations
Validate Your Metric
Select a past experiment
Choose an experiment that:
- Has already completed and produced results
- Uses the same entity as your new metric
Create a new exploration
- Go to the Exploration section in the right sidebar
- Click the add button to create a new exploration
- Give it a descriptive name like “Validate [Metric Name]”
Add your new metric
- Click the metrics dropdown
- Select your newly created metric
- Click Calculate to start the analysis
You can only select metrics that use the same entity configured for the experiment.
Add dimensions (optional)
If you want to validate how your metric behaves across different segments:
- For your metric, click to add dimensions
- Select relevant dimensions from dimension tables
- This helps you verify the metric works correctly across different user segments
Review the results
Once the calculation completes, examine the results:
- Check the values: Do the metric values look reasonable?
- Compare to expectations: If you know the experiment outcome, does your metric show similar patterns?
- Review dimensions: Do dimensional breakdowns make sense?
Inspect the SQL
If you need to debug the calculation itself, you can inspect the SQL query that was used to calculate the metric. To do this:
- Find the status indicator showing the query job status
- Click on the status to view details
- Review the generated SQL query
Document your findings
Write a conclusion in the exploration describing:
- What you were validating
- Whether the metric behaves as expected
- Any issues discovered and how you resolved them
- Confirmation that the metric is ready for production use
Common Validation Checks
When reviewing your metric results, check for:Data Volume
- Does the metric produce results?
- Is the sample size similar to other metrics on this experiment?
Treatment Effect Direction
- If the experiment had a positive effect, does your metric show that?
- Does the magnitude seem reasonable?
- Do confidence intervals make sense?
Dimensional Consistency
- Do dimension breakdowns align with known patterns?
- Are there any segments with suspiciously different results?
SQL Validation
- Are aggregations (SUM, AVG, COUNT) applied correctly?
- Are filters applied correctly?

