Skip to content

Data Analyst Interview Guide: Metrics, Experiments and Dashboard Critique

A data analyst turns business questions into answers people can act on. Interviews for the role test SQL, but most of the loop is about judgement: choosing the right metric, finding why a number moved, reading an experiment honestly, spotting a misleading chart, and explaining an uncertain result to someone who wants a yes or no. This guide explains what each round is really testing, works through example answers the way a strong candidate would give them, and lists the traps that catch people.

For the SQL round itself, use the SQL interview guide. If the role leans towards building models rather than analysing them, read the analytics engineer interview guide as well. Every number in the worked examples below is made up for practice and computed on this page, so you can check it by hand.


The typical loop

Round What it looks like What it is really testing
Recruiter or hiring manager screen Background, an analysis you are proud of Can you say what decision your work changed, not just what you built?
Metrics and business case "How would you measure success for this feature?" or "Signups dropped, why?" Defining metrics precisely, structured diagnosis before guessing
Experiments and statistics "We ran an A/B test, here are the results" What a test can and cannot tell you, and the common ways tests mislead
Dashboard critique A described or shown dashboard: "What's wrong with this?" Whether you notice misleading charts, missing definitions and vanity metrics
SQL round Live coding, 2 to 4 problems Joins, grouping, window functions, nulls. See the SQL guide
Stakeholders and behaviour Past situations, a role-play with a vague request Turning a request into a question, communicating uncertainty

Some companies add a take-home: a dataset and a question, with a short write-up or slide deck to present. Everything in Rounds 1 to 3 applies to it.


Round 1: metrics and business cases

What they are testing

Whether you can say exactly what a number means, choose numbers that reflect real value, and investigate a change in a structured way instead of jumping to a story.

Worked example: define a metric

Question: "Define 'weekly active users' for our app."

A strong answer:

"A metric definition needs five parts, so I'd pin each one down."

Part Question to settle Example choice
Unit Who or what is counted? Distinct logged-in user IDs
Action What counts as 'active'? At least one meaningful action, such as creating or editing an item, not just opening the app
Window Which time period? Monday to Sunday, in UTC, or a trailing 7 days
Exclusions Who is left out? Test accounts, staff, bots
Source Which table, and who owns the definition? One governed model, documented once

"Opening the app is easy to inflate with notifications, so I'd count a meaningful action. I'd also say up front that distinct users are not additive: you cannot add up seven daily active user counts to get weekly active users, because the same person appears on several days."

Worked example: north star and guardrails

Question: "We're launching a feature that recommends items to buy. How would you measure success?"

A strong answer:

"I'd pick one north-star metric that reflects the value the feature should create, then guardrail metrics that must not get worse while we chase it."

  • North star: purchases per active user per week, because the feature exists to help people find things they buy. Clicks on recommendations alone would be a vanity metric: they can rise while purchases stay flat.
  • Guardrails: refund or return rate (are we pushing things people regret?), page load time (recommendations add work to the page), and purchases from search (are we just moving purchases from one place to another rather than adding new ones?).
  • Diagnostic metrics: click-through rate on recommendations, share of purchases that came from a recommendation. Useful for understanding why the north star moved, not for judging success.

"I'd agree these with the product owner before launch, so nobody picks the metric that looks best afterwards."

Worked example: "signups dropped 10 percent"

Question: "Signups last week were 10 percent lower than the week before. What happened?"

A strong candidate does not guess a cause first. They check the number is real, then slice it.

flowchart TB
  A[Signups down 10 percent] --> B{Is the data right?<br/>Tracking, pipeline, definition}
  B -- Data problem --> C[Fix data, annotate dashboard]
  B -- Real drop --> D{Expected?<br/>Holiday, season, last week's campaign}
  D -- No --> E[Slice: segment, channel, platform, time]
  E --> F[Find where the drop is concentrated]
  F --> G[Form a cause, then check it]

The diagram shows the order of the investigation: confirm the data first, rule out expected causes, slice the number, and only then form a hypothesis about the cause.

A strong answer, talked through:

  1. "Check the data. Did a tracking change ship? Did the pipeline load the full week? Did the definition of 'signup' change? A large share of sudden drops turn out to be measurement problems."
  2. "Check context. Was last week unusually high because of a campaign or a holiday? I'd compare with the same week last year and the trailing 4-week average, not just one week."
  3. "Slice by segment (new versus returning visitors, country), by channel (paid, organic, referral, email), by platform (web, iOS, Android, app version) and by time (which day did it start, what hour?)."

"Say the platform slice looks like this:"

Platform Week before Last week Change
Web 6,000 5,900 -100
iOS 2,000 1,980 -20
Android 2,000 1,120 -880
Total 10,000 9,000 -1,000 (-10%)

"The total fell by 1,000, which is 10 percent of 10,000. Android accounts for 880 of the 1,000 lost signups, which is 88 percent of the drop, while Android fell 44 percent on its own (880 out of 2,000). Web and iOS each moved by 1 to 2 percent, which is probably normal noise. So I'd now look at Android only: did a new app version ship, which day did the drop start, and is it every Android version or one? Only then would I suggest a cause, such as a broken signup screen in a new release, and check it with the release date and error logs."

Traps

  • Guessing a cause ("probably the marketing campaign ended") before slicing.
  • Forgetting to check the data itself.
  • Comparing with one week only, when that week may have been unusual.
  • Averaging rates across segments instead of recomputing the rate from totals (see Round 3).
  • Choosing a vanity metric (page views, clicks, downloads) as the measure of success.

See the semantic layer pattern for how teams keep one definition per metric.


Round 2: experiments and basic statistics

What they are testing

Whether you can set up an A/B test properly, read its results without overclaiming, and know the common ways a test produces a false answer. You are rarely asked to derive a formula. You are often asked what a number does and does not mean.

Worked example: setting up a test

Question: "We want to test a new checkout button. How would you set up the experiment?"

A strong answer:

  1. "Hypothesis and metric first. 'The new button increases checkout conversion.' Primary metric: share of users who start checkout and complete a purchase. Guardrails: average order value, refund rate, page errors."
  2. "Unit of randomisation. Randomise by user, not by page view, so one person always sees the same version."
  3. "Sample size and duration, fixed in advance. Decide the smallest lift worth detecting, then work out how many users that needs. Run for whole weeks, so weekday and weekend behaviour are both included."
  4. "Decide the analysis plan before looking: one primary metric, the significance level (often 5 percent), and when the test ends."

Worked example: sample ratio mismatch

Question: "The test was meant to split users 50/50. After a week, control has 10,300 users and treatment has 9,700. Is that a problem?"

A strong answer:

"Yes, I'd check this before looking at any results. It's called a sample ratio mismatch. With 20,000 users and a 50/50 split, I'd expect 10,000 in each. A chi-square test checks whether the gap is bigger than chance:"

  • Control: (10,300 - 10,000)Β² / 10,000 = 90,000 / 10,000 = 9
  • Treatment: (9,700 - 10,000)Β² / 10,000 = 90,000 / 10,000 = 9
  • Chi-square = 9 + 9 = 18, with 1 degree of freedom.

"The 5 percent critical value for 1 degree of freedom is 3.84, and the 0.1 percent critical value is 10.83. 18 is well above both, so a split this uneven is very unlikely by chance. Something is wrong with assignment or logging: perhaps the new button crashes for some users before they are logged, or a bot filter treats the two groups differently. Until I find the cause, I wouldn't trust the conversion results, because the two groups may no longer be comparable."

Worked example: reading the result

Question: "Control: 10,000 users, 1,000 converted. Treatment: 10,000 users, 1,100 converted. The p-value is about 0.02. What do you conclude?"

A strong answer:

"Conversion is 10.0 percent in control (1,000 / 10,000) and 11.0 percent in treatment (1,100 / 10,000), a lift of 1 percentage point, or 10 percent relative."

"For a confidence interval on the difference, the standard error is:"

  • Control: 0.10 Γ— 0.90 / 10,000 = 0.0000090
  • Treatment: 0.11 Γ— 0.89 / 10,000 = 0.0000098 (rounded from 0.00000979)
  • Standard error = √(0.0000090 + 0.0000098) = √0.0000188 β‰ˆ 0.0043, or 0.43 percentage points.
  • 95 percent interval = 1.0 Β± 1.96 Γ— 0.43 β‰ˆ 1.0 Β± 0.85, so roughly 0.15 to 1.85 percentage points.
  • The z-score is 1.0 / 0.43 β‰ˆ 2.3, which matches a two-sided p-value of about 0.02.

"So the data are consistent with a lift as small as 0.15 points or as large as 1.85 points. That range doesn't include zero, which is why the result is significant at 5 percent."

What a p-value and a confidence interval do and do not say:

Statement Correct?
"If the button had no effect, a difference at least this large would happen about 2 percent of the time by chance." Yes, that is what the p-value means
"There's a 98 percent chance the new button is better." No. A p-value is not the probability that the hypothesis is true
"A p-value of 0.30 proves the button makes no difference." No. It means the test could not detect a difference; the effect may be small or the test too small
"If we repeated this experiment many times, about 95 percent of the intervals built this way would contain the true lift." Yes, that is what a 95 percent confidence interval means
"The true lift is definitely between 0.15 and 1.85 points." No. The interval is a range of plausible values, not a guarantee

Why peeking and many comparisons inflate false positives

"A 5 percent significance level means that, when there is no real effect, about 1 test in 20 will still look significant by chance. Two habits multiply that risk:"

  • Many comparisons. If I test 20 independent metrics (or 20 segments) at 5 percent and none has a real effect, the chance that at least one looks significant is 1 - 0.95²⁰. 0.95²⁰ β‰ˆ 0.358, so the chance is about 64 percent. One fix is a stricter threshold, such as the Bonferroni correction: 0.05 / 20 = 0.0025 per comparison. The simpler fix is to name one primary metric in advance and treat the rest as exploratory.
  • Peeking. If I check the p-value every day and stop the first time it drops below 0.05, I get many chances to catch a random swing, so the real false positive rate is well above 5 percent. The fix is to fix the sample size and look once, or use a method designed for repeated looks (a sequential test).

Practical versus statistical significance

"Statistically significant means 'probably not zero'. It doesn't mean 'worth doing'. With millions of users, a 0.05 point lift can be significant and still not cover the cost of building and maintaining the change. In the other direction, a test that isn't significant might still have an interval that includes a lift worth having, which means 'we need more data', not 'no effect'. I'd always report the size of the effect and its interval, not just the p-value, and compare that with the smallest lift the business said would matter."

Traps

  • Reading results before checking the sample ratio.
  • Saying a p-value is the probability the result is true, or that a non-significant result proves no effect.
  • Stopping the test early because it looks good.
  • Slicing until something is significant and reporting that slice as the finding.
  • Reporting only the p-value, with no effect size or interval.

Round 3: dashboard critique

What they are testing

Whether you notice what makes a dashboard misleading, and whether you can explain why it matters to the person reading it. Interviewers often describe a dashboard in words or show a screenshot and ask "What would you change?"

Worked example

Prompt: "Here's our weekly sales dashboard. It has: a big number at the top saying 'Total page views: 1.2M, up 30%'; a bar chart of revenue for this week and last week, where the bars are 9,900 and 9,600 and the y-axis starts at 9,500; a line chart called 'Conversion' with no units; a table with 'Average conversion rate by region' that averages each region's rate; and a chart mixing daily orders with monthly revenue on the same axis. What's wrong?"

A strong answer, item by item:

Problem Why it misleads Fix
Vanity metric as the headline Page views can rise from bots, a viral post or a slow page that makes people reload. It says little about sales Lead with the metric the dashboard exists for, such as revenue or orders, with its target
Truncated axis The bars show 9,900 - 9,500 = 400 and 9,600 - 9,500 = 100, so one bar looks 4 times as tall. The real increase is 300 / 9,600 β‰ˆ 3.1 percent Start bar charts at zero, or use a line chart and label the change in percent
Unlabelled units 'Conversion' could be a percent or a count, per session or per user Label units and the denominator on every chart: "Orders / sessions, %"
Averaging rates Region A: 1 order from 2 sessions (50%). Region B: 100 orders from 1,000 sessions (10%). The average of the rates is (50 + 10) / 2 = 30%, but the true overall rate is 101 / 1,002 β‰ˆ 10.1% Compute rates from summed numerators and denominators
Mixed grains Daily orders and monthly revenue on one axis can't be compared; the monthly figure looks enormous One grain per chart, or separate axes clearly labelled, or both at the same grain
No metric definitions Readers don't know whether revenue is gross or net, or which time zone a 'week' uses A short definition per metric, linked to the governed source

"I'd also ask who reads this dashboard and what decision it supports. A dashboard with no clear audience tends to collect charts. And I'd check freshness: is there a 'data as of' time on the page?"

Other things worth naming

  • Percent change with no base. "Up 200 percent" from 1 to 3 is not news.
  • Cumulative charts that always go up and hide a slowing trend.
  • Dual y-axes that make two unrelated lines look correlated.
  • Pie charts with many slices, or 3D effects that distort size.
  • Colour that only works for some readers. Do not rely on red versus green alone.
  • No comparison. A number with no target, prior period or benchmark is hard to judge.

Traps

  • Only commenting on looks (fonts, colours) and missing that a number is wrong.
  • Not explaining the consequence: say what decision a misleading chart could cause.

See the BI tools comparison for the tools these dashboards are usually built in.


Round 4: SQL

Almost every analyst loop has a SQL round: joins at the right grain, grouping, window functions, nulls and deduplication. This page doesn't repeat those problems. Work through the SQL interview guide, which has the patterns and worked problems, and the concept pages on SQL joins and window functions.

Two habits from the rounds above carry over. State the grain of your result before you write the query ("one row per user per week"), and check your answer with a row count or a known total before you call it done.


Round 5: stakeholders and behaviour

What they are testing

Whether you can turn a vague request into a question that data can answer, and explain an uncertain result honestly without losing the room.

Worked example: a vague request

Prompt: "The head of sales says: 'Can you pull me all the data on churn?'"

A strong answer:

"I wouldn't start pulling data yet. I'd ask what decision this is for. 'Are we deciding which customers the account team should call this month, or explaining churn to the board?' Those need very different answers. Then I'd agree:"

  • "The question: for example, 'Which customer segments had the highest churn rate last quarter, and what did they have in common?'"
  • "The definition: what counts as churned (cancelled, or no purchase for 90 days?), and over which period."
  • "The output and deadline: a ranked list by Friday is different from a deck next month."

"I'd write that back in two or three sentences and get a 'yes, that's it' before starting. It saves rework, and it often turns out the real need is narrower than 'all the data'."

Worked example: communicating an uncertain result

Question: "Your test result is borderline. The product manager wants to know: ship or not?"

A strong answer:

"I'd lead with the answer and the uncertainty together, in plain words. For example: 'The new flow probably helps a little. Our best estimate is a 1 point lift in conversion, but it could be anywhere from almost nothing to about 2 points. It didn't hurt any guardrail metric.' Then the options: ship it, since the downside looks small; or run another two weeks to narrow the range. I'd give my recommendation and why, and leave the decision with the person who owns the trade-off."

"What I'd avoid is hiding behind jargon ('p equals 0.06, not significant') or overstating it ('it works'). Both lead to bad decisions."

Other questions to prepare for

"Tell me about an analysis that changed a decision." Situation, the question you framed, what you found, what changed, and the result. Include something you'd do differently.

"Tell me about a time your numbers were wrong." Say how you found out, how quickly you told people, what you fixed, and what check you added so it would not happen again.

"How do you handle five requests at once?" Ask what decision each one supports and its deadline, make the trade-off visible to your manager, and say "not yet" with a reason rather than quietly delaying.


Questions to expect and strong short answers

"What's the difference between a metric and a KPI?" A metric is any measured number. A KPI is a metric the business has chosen to judge performance against a target.

"Mean or median?" Median when the data are skewed or have outliers, such as order values or session length. Report both if the gap between them tells a story.

"What is Simpson's paradox?" A trend that appears in every segment can reverse when the segments are combined, because the segments have different sizes. The fix is to look at segments and weighted totals, and to ask what mix changed.

"Correlation or causation?" Correlation shows two things move together. Causation needs a controlled comparison, such as an experiment, or careful reasoning about other causes. Say which you have.

"How would you check a dashboard number is right?" Reconcile it with a trusted source (finance, the source system), recompute it from raw data for one day, and check row counts and definitions.

"What makes a good chart?" One message, the right chart type for the comparison, labelled units and axes, axes that start at zero for bars, and a title that says the finding.

"How do you decide how long to run an A/B test?" Before it starts: from the smallest lift worth detecting, the baseline rate and the traffic, then rounded up to whole weeks.


Practise like this

  1. Pick an app you use. Write a definition of its main metric using the five-part table in Round 1, then choose a north star and two guardrails for a feature it launched recently.
  2. Redo the "signups dropped" table with your own made-up numbers where the drop is spread evenly, then where it sits in one channel. Practise saying what each pattern suggests.
  3. Recompute every number in Round 2 by hand: the chi-square of 18, the 0.43 point standard error, and 1 - 0.95²⁰ β‰ˆ 0.64. If you can do these, you can explain them.
  4. Find a public dashboard or a chart in the news and critique it out loud using the Round 3 table.
  5. Practise the SQL patterns in the SQL interview guide until joins at the right grain and window functions are automatic.
  6. Prepare three stories: an analysis that changed a decision, a time a number was wrong, and a vague request you turned into a clear question.