Data Analyst Interview Questions and Answers
10 Data Analyst interview questions with a structure for each answer, a full sample answer, and the pitfall that sinks candidates.
How Data Analyst interviews are usually structured
Most Data Analyst loops have four rounds, and they are not testing the same thing. Read the round you are in before you decide what to prepare.
- Recruiter screen — motivation, timeline, and whether your experience matches the level of this Data Analyst role.
- Hiring-manager interview — your recent Data Analyst work, how you make decisions, and whether you can own the responsibilities in the posting.
- Role-specific deep dive — the Data Analyst questions below, with follow-ups that test whether your first answer was real.
- Cross-functional or panel round — collaboration, conflict, and written or live problem solving with people outside your Data Analyst function.
Notice that only one round is a pure knowledge test. The others are looking for ownership, which is why rehearsing Data Analyst trivia alone rarely changes the outcome.
Data Analyst interview questions and answers
For every Data Analyst question below you get the underlying assessment, an answer structure, a complete sample, and the mistake to avoid. The sample answers are there to show depth, not to be recited.
1. A stakeholder says the dashboard number is wrong. How do you handle it?
What they are assessing: Whether you debug methodically under social pressure instead of assuming either side is right.
- Reproduce the exact number with the filters and date range the stakeholder used
- Compare that figure against the source table and the scheduled refresh
- Check for definition drift, timezone handling and a partial or failed load
- Respond with the specific cause, then correct either the data or the expectation
I start by asking which number they expected and where they saw it, because the mismatch is usually a filter, a date range or a definition rather than a broken table. I reproduce their exact view, then query the source table directly and compare row counts and totals for the same period. If the source matches, I check the dashboard refresh time, timezone settings and any calculated field that behaves differently once a filter is applied. If the source does not match, I trace back to the upstream load and look for a partial refresh. Either way I reply with the specific cause rather than a quietly corrected chart, and I log the issue so the same question does not return next month.
Common pitfall: Apologizing and changing the chart without investigating, which loses trust when the original number was actually correct.
2. How would you define an active user for a product used on both web and mobile?
What they are assessing: Whether you can turn a vague business term into a precise, defensible metric definition.
- Start from the decision the metric is meant to support
- Choose the smallest meaningful action that counts as usage
- Pick the identity key so one person is not counted twice across devices
- Document edge cases and share the definition with every consuming team
When I define an active user I start from the decision the metric is meant to support, because a log-in and a meaningful action are very different things. For a product with web and mobile surfaces I would count a user as active on a given day if they complete at least one core action, such as creating a document or sending a message, and I would tie the identifier to the account rather than the device so one person is not counted twice. I would write the definition down, state the edge cases including internal accounts, bots and trials, and circulate it to the teams who use the number so we do not end up with three competing versions of the same word.
Common pitfall: Answering with a log-in count alone, which shows you have never had to defend a definition to stakeholders.
3. Write a query to find your top customers by revenue last month. Talk me through it.
What they are assessing: Practical SQL fluency and whether you interrogate the data before trusting a result.
- Restate the question as a grain: one row per customer for the period
- Inspect the orders table for refunds, cancellations and test accounts
- Write the join, filter, group by and ranking in that order
- Reconcile the total against a known finance figure before sharing
I would start by restating the question as a grain: one row per customer, revenue summed over the period, ranked from highest to lowest. Then I would inspect the orders table for how refunds, canceled orders and test accounts are stored, because those usually need excluding before any total is trustworthy. The query would join customers to orders on the customer key, filter the order date to the month in question, group by customer, sum the revenue column and order the result descending, with a limit so the output stays readable. Before I shared it I would run a total-revenue check against the finance report to confirm my filters match theirs.
Common pitfall: Writing the query immediately without checking how refunds and test orders are stored in the table.
4. How do you quality check a report before sending it to an executive?
What they are assessing: Attention to detail and whether your review process is a habit or an improvisation.
- Check the arithmetic so the parts reconcile to the whole and to last period
- Check the logic, especially join direction and date boundary filters
- Check the presentation so every metric carries a definition and a period
- Have a colleague read it cold before it goes out
Before a report goes out I check it in layers. First the arithmetic: does the total of the parts equal the whole, and does this month reconcile with last month's published figure. Then the logic: are the joins one to many where I assumed one to one, and did the date filter accidentally include or drop the boundary day. Then the presentation: is every metric labeled with its definition and period, and would a reader who missed the meeting understand the takeaway. Finally I ask a colleague to read it cold, because a second pair of eyes catches the assumption I stopped seeing hours ago.
Common pitfall: Sending a report straight from the tool without a reconciliation step, which is how silent errors reach leadership.
5. How do you handle missing or incomplete data in an analysis?
What they are assessing: Whether you treat gaps as evidence and communicate uncertainty rather than hiding it.
- Quantify how much is missing and where the gaps concentrate
- Decide whether the pattern is random or systematic
- Trace systematic gaps back to the capturing system
- Report the metric with an explicit denominator and stated coverage
I treat missing data as a finding rather than a nuisance to hide. First I quantify it: what share of rows are null or left at a default, and is the gap random or concentrated in one source, region or time window. If it is small and random I document the exclusion and note it in the report. If it is systematic I go back to the system that generates the field, because a broken capture process usually explains it, and I would rather delay a number than publish one built on a biased subset. Where a field is genuinely optional I report the metric with an explicit denominator and state the coverage so nobody over-reads the result.
Common pitfall: Dropping null rows silently, which inflates the result and hides exactly the problem the business needs to see.
6. Explain SQL window functions and give a case where you would use one.
What they are assessing: Depth of SQL knowledge and whether you understand partitions and frames rather than memorized syntax.
- Describe the idea of calculating across related rows without collapsing them
- Give a concrete case such as ranking orders within each customer
- Name the partition, the order and the function you would use
- Call out the frame and partition mistakes that change results silently
A window function lets me calculate across a set of related rows without collapsing them, which is exactly what ranking and running totals need. If I want each customer's largest order shown alongside every order row, I partition by customer, order the rows by amount, use a ranking function and keep the top row. The same pattern gives month-over-month change with a lag function, or a cumulative total with a sum over an ordered window. The part I always check is the partition and the frame, because forgetting to partition produces a global rank and an unintended default frame quietly changes the running total.
Common pitfall: Describing the syntax from memory while missing that partition and frame choices determine the actual result.
7. How do you prioritize ad-hoc requests when several teams want answers at once?
What they are assessing: Stakeholder management and whether you can say no or negotiate scope without damaging relationships.
- Keep one visible queue so everyone sees the same backlog
- Score requests on decision impact, deadline and effort
- Escalate genuine conflicts to the requesters rather than arbitrating alone
- Consolidate repeat questions into a reusable self-serve view
I keep one visible queue and score requests on decision impact, deadline and effort rather than on who asked loudest. A question tied to a decision happening this week, or to a number an executive will quote publicly, goes to the top, while an exploratory request with no decision attached goes into a backlog with an honest estimate. When two teams clash I ask them to agree the priority between themselves, which usually resolves it faster than me arbitrating. I also look for the third option: if three requests are really the same question, I build one small self-serve view instead of answering it repeatedly.
Common pitfall: Serving requests in arrival order, which trains the loudest stakeholder to escalate and buries the important work.
8. How would you explain a metric change to a non-technical executive?
What they are assessing: Communication range and whether you can translate analysis without hiding the caveats.
- Lead with the decision the number should inform
- State what moved, by how much, over what period, in plain language
- Offer the most likely driver and one chart, not a table
- Name the caveat that could change the interpretation, then stop and listen
I start with the decision, not the method. I would say what changed, how much it moved, over what period, and what I believe is driving it, in plain language and with one chart rather than a dense table. I avoid statistical vocabulary unless it changes the interpretation, and I state the caveat that matters, such as a tracking change, a seasonal effect or a small sample, in the same breath as the headline instead of burying it at the end. Then I stop talking and let them ask questions, because those tell me which part of the explanation landed and what they need to decide next.
Common pitfall: Walking through methodology first, which loses a non-technical audience before you reach the number they asked about.
9. How do you decide whether a change in a metric is real or just noise?
What they are assessing: Analytical rigor and whether you separate instrumentation issues from genuine business movement.
- Rule out a tracking or definition change before anything else
- Check persistence across several periods rather than one spike
- Look for a second independent metric moving in the same direction
- Compare against the same period in prior cycles and inspect the distribution
I first ask whether the metric definition or the tracking changed, because a logging release explains more sudden movements than most business events do. If the instrumentation is stable I look at whether the change persists over several periods and whether an independent metric moved in the same direction, since a real shift usually shows up in more than one place. I check seasonality against the same period in prior cycles, and I look at the distribution rather than just the average, because a mean can move because of one unusually large account. If the movement is still ambiguous I say so and propose the smallest test that would settle it.
Common pitfall: Declaring a trend from a single period's uptick, which is how analysts lose credibility with finance and leadership.
10. Tell me about an analysis you delivered that turned out to be wrong or misleading.
What they are assessing: Accountability and whether you correct your own work before someone else has to.
- Describe the error and its cause in one plain sentence
- Explain how you found it and how fast you responded
- Show the correction you made to the definition or the process
- State what changed in your routine afterward
I once published a churn readout that looked like a product problem when the real cause was a billing migration that had canceled and recreated accounts. I had validated the query logic but not the underlying account history, so I caught it only when a colleague asked why long-tenured customers were leaving in a single week. I retracted the number the same day, corrected the definition to exclude migrated accounts, and reissued the analysis with the revision clearly noted. After that I added a step to every readout where I sanity-check the biggest movers against a known event calendar before presenting anything.
Common pitfall: Choosing an example where you were blameless, which reads as avoidance when the question is testing accountability.
How to prepare for a Data Analyst interview in one week
- Day 1 — Write a one-page inventory of your own Data Analyst work: what you owned, the scale, the figure, and the decision you made. This becomes the raw material for every answer.
- Day 2 — Work through the must-have keywords from the <a href="/en/ats-keywords/data-analyst">Data Analyst ATS keyword list</a> — starting with SQL query writing and joins, data cleaning and validation, dashboard development — and mark which ones you can defend with a story.
- Day 3 — Answer the Data Analyst questions above out loud and timed. Recording yourself once will surface more problems than another hour of reading.
- Day 4 — Prepare two questions per interviewer about how a Data Analyst is measured here, and one about the first ninety days.
- Day 5 — Rehearse the Data Analyst salary conversation, including your researched range and your walk-away floor.
- Day 6 — Do one mock Data Analyst interview with a person, and ask them to interrupt you mid-answer, because real interviewers do.
- Day 7 — Rest and review the one-page inventory once. Do not cram new Data Analyst material the night before.
Mistakes that sink Data Analyst interviews
The same handful of errors end Data Analyst interviews early. Each one below is paired with what to do instead.
Treating a query result as correct because it ran without an error.
Reconcile totals against a trusted source, check row counts before and after each join, and test the filter boundaries before you share the output.
Using an average to describe a heavily skewed distribution.
Report the median and a spread alongside the mean, and split the data by segment when a small group of large accounts drives the total.
Building every recurring report yourself instead of enabling self-serve.
Turn repeated questions into a filtered dashboard or a documented query that the requesting team can run, then retire the manual report once they adopt it.
Questions to ask your Data Analyst interviewer
- What does success look like for this Data Analyst role in the first ninety days?
- Which Data Analyst responsibility in the posting is hardest to get right today, and why?
- How is performance measured for this role, and who reviews it?
- What has changed about this Data Analyst role in the last year?
- What would make you say, six months from now, that hiring this Data Analyst was the right call?
Ask these in the order that matches your interviewer's role. Recruiters can answer process questions; the hiring manager can answer the ones about Data Analyst priorities and how the work is measured.
Handling salary questions in a Data Analyst interview
Data analyst pay varies widely by market, industry, seniority and company stage, so any single figure should be read with caution. Analysts in large regulated industries, dedicated analytics teams and high-cost cities often sit in a different band from those in smaller organizations or general operations roles. Title inflation also matters, because two employers may use the same title for very different scope, so compare responsibilities, tooling and ownership rather than the label alone.
Frequently asked questions
How is a data analyst different from a data engineer?
A data engineer builds and operates the pipelines, storage and warehouse infrastructure that deliver trustworthy data, while an analyst consumes those tables to produce metrics, dashboards and answers. Analysts do write SQL and sometimes maintain dbt models, but the deliverable is an insight or a report, not an ingestion framework or a scheduling system. Emphasize the analysis, not pipeline architecture.
How much SQL should I expect in a data analyst interview?
Expect at least one live SQL exercise, often on a shared editor or a whiteboard, covering joins, aggregation, filtering and a window function. You may also be asked to explain how you would validate the result or handle duplicates. Practicing on messy tables with nulls and repeated keys prepares you better than drilling syntax, because interviewers watch how you reason about the data.
Should I include a portfolio or dashboard samples with my application?
Yes, when the work is real and you can discuss the decisions behind it. A small number of projects that each state the question, the data source, the method and what the analysis changed is far more persuasive than a gallery of screenshots. Redact anything confidential, and be ready to explain the metric definitions and the trade-offs you made.
How should I prepare for a Data Analyst interview?
Build a one-page inventory of your own work first, then map it onto the must-have keywords for the role: SQL query writing and joins, data cleaning and validation, dashboard development, metric definition and documentation, exploratory data analysis. Most Data Analyst interview answers are drawn from that inventory. Rehearse out loud and timed, because the gap between knowing an answer and delivering it under pressure is where candidates lose offers.
How many Data Analyst interview questions should I practice?
Depth beats volume. Prepare eight to ten stories properly rather than fifty superficial answers, because most Data Analyst loops ask variations of the same handful of themes and good interviewers follow up on whatever you actually say. Each story should cover the situation, your specific decision, the outcome and what you would change.
What should I do if I do not know the answer to a Data Analyst interview question?
Say what you do know, state your assumption, and walk through how you would find the Data Analyst answer. Interviewers are testing reasoning more than recall. What fails is bluffing, because the follow-up question exposes it. If you have genuinely never met the situation, say so and describe the closest Data Analyst work you have done.
Check your resume against this role for free
Paste your resume and the job description. You will get an ATS keyword coverage score and the gaps that matter most — no signup required.
Run the free ATS check