Skip to main content

Data Analyst Interview Questions: 43 With Answers (2026)

Data analyst interviews in 2026 test SQL fluency at the window-function level, Excel beyond VLOOKUP, statistics at the A/B-test interpretation bar, and at least one data-viz tool (Tableau or Power BI). The LeetCode bar is near zero. For CS new grads whose SWE pipelines have stalled, the data analyst seat is the most reachable entry point into the analytics stack. This guide covers 40+ questions across six categories plus the SWE-to-DA pivot strategy.

By , Founder, InterviewChamp.AI · Last updated

42 min read

TL;DR: A data analyst interview in 2026 checks six things: SQL with window functions and multi-step CTEs, Excel past VLOOKUP (pivot tables above all), statistics at the A/B-test reading level, one viz tool in depth, a timed business case, and a behavioral round. Below are 43 questions with sample answers grouped by those six areas, a four-week prep plan for CS new grads, a format table by role type, and a one-page cheat sheet. LeetCode barely matters here, but SQL is graded harder than in a SWE loop, so spend most of your time there.

The common data analyst interview questions list at a glance#

If you only have five minutes, here is the shape of the whole list. Each category below gets its own section with worked answers further down.

CategoryQuestionsWhat it checks
SQL10 (Q1 to Q10)Window functions, multi-CTE queries, joins, pivots, reading an EXPLAIN plan
Excel8 (Q11 to Q18)Pivot tables, XLOOKUP and INDEX/MATCH, SUMIFS, cleanup, dynamic arrays
Statistics7 (Q19 to Q25)Reading p-values, confidence intervals, A/B test design, R-squared
Data visualization8 (Q26 to Q33)Tableau calculated fields and LOD expressions, Power BI DAX, dashboard design
Business case study5 (Q34 to Q38)Staying calm with a vague metric problem and talking it through
Behavioral5 (Q39 to Q43)Communication, curiosity, owning mistakes, the "why analyst" story

That adds up to 43 questions. Start with SQL, because it shows up in nearly every loop and it is where most CS grads lose points they thought were safe.

What data analyst interview questions test in 2026#

The six areas in the summary and table above are the whole map. What trips people up is how each one gets graded.

The LeetCode bar is close to zero. Below FAANG-tier analytics teams, algorithm rounds usually get skipped entirely. For CS new grads whose SWE pipelines have stalled, that's a real opening. It's also a trap for anyone who hears "no LeetCode" and thinks "easy interview." SQL here is graded more strictly than in a SWE loop. And the business case round tests something CS coursework almost never drills: explaining data to someone non-technical while the question itself stays fuzzy on purpose.

Format depends on company size. Large public employers often run a 3-4 round loop. Mid-market companies sometimes do a single onsite. Early-stage startups often hand you a take-home dashboard plus one technical round. The six areas hold across nearly every tier, though. Get good at those and you can walk into any data analyst loop and hold your own.

The 2026 hiring picture matters too. Analytics seats stayed open while SWE pipelines got tighter. In our read, analyst pipelines often move faster than SWE pipelines. The analyst seat isn't a consolation prize. For a new grad whose main goal is ending the search, it's honestly the faster road to tenure.

Who this guide is written for

Picture the reader. CS new grad, May 2025, mid-tier state school, 3.4 GPA. 487 applications since graduation, 14 interviews, zero offers, 11 months in. He took the database class and one stats class. His SQL stops at SELECT-FROM-WHERE from coursework. He can build a pivot table in Excel only because a marketing internship four summers ago made him. He used Tableau once, for a class project. He's been on LeetCode until 3am and refreshing LinkedIn at 10am, watching classmates post FAANG offers. That's exactly the candidate the analyst pivot was made for.

How data analyst questions differ from data engineer and data scientist questions#

CS new grads looking at data careers often blur these three roles together. The interviews are meaningfully different, so calibrate before you pick a prep plan.

Data analyst. The interview centers on SQL, business reasoning and a viz tool. Statistics stays light. There's no machine learning, no distributed systems, and no Spark, Airflow or dbt. The job itself is building dashboards, answering ad-hoc business questions, and backing product or operations teams with metrics. So the rounds look like that: heavy SQL, light algorithms, and business cases as the thing that separates candidates.

Data engineer. This interview goes deep on pipelines, partitioning, distributed systems and the modern data stack (Spark, Airflow, dbt, cloud warehouses). The work is moving data rather than analyzing it. Expect heavy SQL plus system design built around how data flows.

Data scientist. Here the depth is in statistics, machine learning, A/B test design and experimentation. The work is building models and running experiments. Rounds cover hypothesis testing, regression, sometimes a coding round in pandas plus scikit-learn, and an A/B test design case study.

Your CS coursework points toward one of the three:

  • Database course completed → data analyst path opens. Part of the SQL is already there. Window functions and query optimization need a refresh.
  • Statistics or probability course completed → data scientist path opens. The foundation exists. ML coursework or a portfolio model is the wedge that gets you in.
  • Distributed systems or operating systems course completed → data engineer path opens. Systems thinking carries over. A Python plus dbt plus Airflow portfolio is the wedge.

If you have solid database fundamentals but no stats coursework and no ML projects, the analyst seat is the most reachable entry point. The pivot is shorter (about 30 days of focused prep) and saturation is meaningfully lower than SWE. The full side-by-side comparison, salaries included, sits in the "which seat fits" section further down.

The 43 data analyst interview questions you should rehearse#

Below is a rehearsal set built around the six categories that come up most. Every question has a short sample answer outline. Treat it as the bones of a strong entry-level answer, not a script to recite. Put it in your own words. The structure is the part that carries the answer.

SQL interview questions for data analysts (10 questions)

SQL pays back prep time better than anything else on this list. It shows up in nearly every loop: the phone screen, the onsite whiteboard, and often folded into the business case round as well. A window function is a SQL operation that computes a value across a set of rows related to the current row, without collapsing those rows the way GROUP BY does. It's the single concept that separates a pass from a fail at the entry-level analyst bar in the 2026 hiring cycle. Get these ten down cold.

Q1

Find the second-highest salary in an employees table.

Show sample answerSay yours out loud first, then check.

Sample answer with DENSE_RANK:

SELECT salary
FROM (
  SELECT salary, DENSE_RANK() OVER (ORDER BY salary DESC) AS rnk
  FROM employees
) ranked
WHERE rnk = 2;

There's also a one-liner: SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);. The DENSE_RANK version is worth memorizing because it stretches cleanly to "find the Nth-highest" by changing one number.

Q2

What's the difference between RANK, DENSE_RANK, and ROW_NUMBER?

Show sample answerSay yours out loud first, then check.

All three number rows inside a partition based on the ORDER BY. ROW_NUMBER always hands out unique numbers (1, 2, 3, 4), ties or not. RANK gives tied rows the same rank and then skips ahead (1, 2, 2, 4). DENSE_RANK also gives ties the same rank but doesn't skip (1, 2, 2, 3). What the interviewer wants is when you'd pick each one. ROW_NUMBER for paging or dedup. RANK when gaps mean something, like Olympic medals. DENSE_RANK when gaps don't matter, which is why it's the go-to for the second-highest pattern in Q1.

Q3

Write a query to find customers whose spend increased more than 20% week-over-week.

Show sample answerSay yours out loud first, then check.
WITH weekly AS (
  SELECT customer_id, DATE_TRUNC('week', order_date) AS wk, SUM(amount) AS spend
  FROM orders
  GROUP BY 1, 2
),
with_prev AS (
  SELECT customer_id, wk, spend,
         LAG(spend) OVER (PARTITION BY customer_id ORDER BY wk) AS prev_spend
  FROM weekly
)
SELECT customer_id, wk, spend, prev_spend
FROM with_prev
WHERE prev_spend > 0 AND (spend - prev_spend) / prev_spend > 0.20;

LAG does the heavy lifting. The query also shows the multi-CTE habit interviewers look for: shape the data first, compute the lag second, filter at the end.

Q4

What's the difference between WHERE and HAVING?

Show sample answerSay yours out loud first, then check.

WHERE filters rows before aggregation happens. HAVING filters groups after it. The classic slip is putting an aggregate inside WHERE. WHERE COUNT(*) > 5 fails, while HAVING COUNT(*) > 5 works. Use WHERE for raw-row filters (date > '2026-01-01') and HAVING for aggregate filters (total spend > $1000).

Q5

Write a query that pivots monthly sales into one row per region with months as columns.

Show sample answerSay yours out loud first, then check.
SELECT region,
  SUM(CASE WHEN month = 1 THEN sales ELSE 0 END) AS jan,
  SUM(CASE WHEN month = 2 THEN sales ELSE 0 END) AS feb,
  SUM(CASE WHEN month = 3 THEN sales ELSE 0 END) AS mar
FROM monthly_sales
GROUP BY region;

Conditional aggregation, meaning a CASE inside a SUM, is how you pivot in standard SQL. Some dialects ship PIVOT syntax (SQL Server, Oracle), and PostgreSQL has crosstab in the tablefunc extension. The CASE-SUM version runs everywhere, which is why it's the safe one to write on a whiteboard.

Q6

What is a self-join and when do you use one?

Show sample answerSay yours out loud first, then check.

A self-join joins a table to itself. It's handy for hierarchies (employees matched to their managers in the same employees table) and for comparing rows within one table (pairs of customers from the same city). You have to alias the table twice:

SELECT e.name AS employee, m.name AS manager
FROM employees e
LEFT JOIN employees m ON e.manager_id = m.id;
Q7

Find the third-highest distinct salary.

Show sample answerSay yours out loud first, then check.
SELECT DISTINCT salary
FROM employees
ORDER BY salary DESC
OFFSET 2 ROWS FETCH NEXT 1 ROW ONLY;

Another route: SELECT MIN(salary) FROM (SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 3) t;. The DENSE_RANK approach from Q1 works here too. Know all three, so you can match whichever one the interviewer is steering toward.

Q8

What's the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN?

Show sample answerSay yours out loud first, then check.

An INNER JOIN returns just the rows that find a partner on both sides. A LEFT JOIN returns all of the left table's rows plus any right-side partners, and fills NULLs where none exists. RIGHT JOIN is the mirror image. FULL OUTER JOIN keeps every row from both sides and fills the gaps with NULLs. The real test is knowing when to reach for each. LEFT JOIN when you want every customer whether or not they ordered. INNER JOIN when you only care about customers who did order. RIGHT JOIN is rare in practice. FULL OUTER is the pick when you're auditing two tables for missing data.

Q9

Write a query to find the top 3 customers by spend in each region.

Show sample answerSay yours out loud first, then check.
WITH ranked AS (
  SELECT region, customer_id, SUM(amount) AS spend,
         ROW_NUMBER() OVER (PARTITION BY region ORDER BY SUM(amount) DESC) AS rn
  FROM orders
  GROUP BY region, customer_id
)
SELECT region, customer_id, spend
FROM ranked
WHERE rn <= 3;

"Top N per group" is one of the most-asked SQL questions in analyst interviews. PARTITION BY, then ROW_NUMBER, then a filter. Memorize that shape until you can write it without thinking. Use DENSE_RANK instead if tied customers should both count.

Q10

How do you read an EXPLAIN plan and identify a slow query?

Show sample answerSay yours out loud first, then check.

Look for three things. Sequential scans on large tables, which should usually be index scans. Nested-loop joins on large tables, which should be hash or merge joins past a certain row count. And one step with a much higher estimated cost than the rest, since that's your bottleneck. The fix is usually an index on the join or filter column, rewriting a subquery as a JOIN, or splitting a tangled query into multi-step CTEs. Nobody expects you to tune the query in 5 minutes. They're checking whether you know what an EXPLAIN plan is and where your eyes should go first.

An honest note from watching new grads in this round: don't memorize EXPLAIN jargon you can't use. If you've never read a plan, say so, then offer to reason about query cost from first principles. Something like, "I haven't read an EXPLAIN plan in production, but I'd start by checking whether each step reads from an index or scans the whole table." That answer works. Fake confidence followed by jargon that falls apart on the follow-up does not.

Excel interview questions for data analysts (8 questions)

Excel is the shared language of analytics. CS new grads who won't learn it get filtered out quickly. A pivot table is the Excel feature that reshapes long-format data into a grouped summary with categories as columns, and as of 2026 it's the most-tested Excel skill in an analyst loop. Work through these eight.

Q11

How do you build a pivot table from a dataset and what does it summarize?

Show sample answerSay yours out loud first, then check.

Select the data range, go to Insert > PivotTable, then drag fields into Rows (categorical grouping), Columns (categorical comparison), Values (numeric aggregation, SUM by default) and Filters (slicer). A pivot table aggregates numbers across categories, much like a SQL GROUP BY, but with drill-down, percent-of-total and grand totals built in. The catch in the interview: you'll often be asked to explain it in plain English to a non-technical PM. "It's a summary table that shows totals broken down by category" is all you need.

Q12

What's the difference between VLOOKUP and XLOOKUP?

Show sample answerSay yours out loud first, then check.

VLOOKUP searches the leftmost column of a range and returns a value from a column to the right, picked by index number. It only looks left to right, it breaks easily when the column index changes, and it's slow on big datasets. XLOOKUP (Excel 365 and 2021+) can search any column, return in any direction, defaults to exact match, and handles errors through its if-not-found argument. Use XLOOKUP when you have it. Still know VLOOKUP, because most legacy spreadsheets and plenty of interview questions lean on it.

Q13

How do you use INDEX/MATCH and why is it sometimes preferred over VLOOKUP?

Show sample answerSay yours out loud first, then check.

=INDEX(return_range, MATCH(lookup_value, lookup_range, 0)) returns a value from any column by matching against any other column. The 0 in MATCH means exact match. Compared with VLOOKUP, it works in either direction, survives inserted columns, and runs faster on large datasets. Before XLOOKUP, INDEX/MATCH was what experienced analysts used. It still turns up in interviews and in older spreadsheets.

Q14

What does SUMIFS do and how is it different from SUMIF?

Show sample answerSay yours out loud first, then check.

SUMIFS adds up values in a range that meet several conditions across other ranges. SUMIF handles just one condition. Syntax: =SUMIFS(sum_range, criteria_range1, criteria1, criteria_range2, criteria2, ...). Example: total revenue for California customers where the order date falls in 2026. Interviewers ask about SUMIFS rather than SUMIF because real analyst work almost always has more than one condition. COUNTIFS and AVERAGEIFS follow the same pattern.

Q15

How do you clean a dirty dataset in Excel?

Show sample answerSay yours out loud first, then check.

A standard cleanup pass goes like this. TRIM to strip leading and trailing spaces. CLEAN to drop non-printable characters. PROPER, UPPER or LOWER to make case consistent. TEXT to format dates and numbers the same way. Find and Replace to fix known typos in bulk. Remove Duplicates from the Data tab. Then Data Validation to lock down which values are allowed from now on. For heavier cleanups, Power Query is the senior-level tool. The usual prompt is "here's a messy CSV, walk me through cleaning it," so practice saying that sequence out loud.

Q16

What's the difference between a relative and an absolute cell reference?

Show sample answerSay yours out loud first, then check.

A relative reference (A1) shifts when you copy the formula. An absolute reference ($A$1) stays put. Mixed references ($A1 or A$1) lock just one direction. Use absolute references for constants like a tax rate cell, for lookup ranges inside VLOOKUP, and for anything you don't want sliding around when you copy down or across. Press F4 on a highlighted reference to toggle it. F4 cycles A1 → $A$1 → A$1 → $A1.

Q17

How do you build a running total in Excel?

Show sample answerSay yours out loud first, then check.

The classic way anchors the start with an absolute reference. In cell B2, type =SUM($A$2:A2) and drag down. Each row sums from the fixed first cell to the current one. Excel 365 adds a newer option with the SCAN dynamic-array function: =SCAN(0, A2:A100, LAMBDA(acc, val, acc + val)). In interviews, the absolute-reference version is usually the one they want, since it works in every Excel version.

Q18

What is a dynamic-array formula and which functions return one?

Show sample answerSay yours out loud first, then check.

Dynamic-array formulas spill their results across several cells without the old Ctrl+Shift+Enter array entry. FILTER, UNIQUE, SORT, SEQUENCE, RANDARRAY and XLOOKUP can all return dynamic arrays. For example, =UNIQUE(A2:A100) returns the distinct values in that range as one spilled block. The 2026 entry-level expectation is simple: know FILTER and UNIQUE exist, know they spill, and know they replace a lot of old array formulas. For full reshaping, Power Query and PivotTables are still the heavy tools.

If I had to pick three Excel features for a CS grad to learn first, I'd pick pivot tables, XLOOKUP and SUMIFS, with a day on each. That's the 80/20 of analyst Excel. Anyone who tells you to start with Power Query or VBA macros is wasting your prep budget.

Statistics interview questions for data analysts (7 questions)

At entry level the statistics bar is about interpretation, not derivation. Nobody will ask you to prove the central limit theorem. A p-value is the probability of seeing your result, or something more extreme, if there were no real effect. Being able to say that to a non-technical PM in one sentence matters more than any formula you can recite. You'll also need to explain what a confidence interval means to that same PM. Here are the seven to rehearse.

Q19

What's the difference between mean and median, and when do you use which?

Show sample answerSay yours out loud first, then check.

The mean is the arithmetic average. The median is the middle value once the data is sorted. Use the mean when the distribution is roughly symmetric, and the median when it's skewed or has outliers. Classic example: average household income in a region misleads, because a handful of high earners drag the mean up. The median is closer to the typical household. The 2026 version of this question usually sounds like: "Salary data has a long right tail. Which measure do you report?" Median. Always.

Q20

What is a p-value and how do you interpret p = 0.03?

Show sample answerSay yours out loud first, then check.

A p-value is the probability of seeing data at least this extreme if the null hypothesis is true. So p = 0.03 means a 3% chance of getting this result from random noise alone if there's no real effect. The usual cutoff for "statistically significant" is p < 0.05. Here's the part interviewers listen for: a p-value does NOT give you the probability that the null is true, the size of the effect, or whether the result matters in practice. A statistically significant 0.1% lift in conversion might not be worth shipping. Report significance and effect size together.

Q21

What is a 95% confidence interval and how do you explain it?

Show sample answerSay yours out loud first, then check.

A 95% confidence interval is a range built so that, if you re-ran the experiment many times, 95% of those intervals would contain the true population value. For a non-technical audience: "We're 95% confident the true value is in this range, give or take this margin." The technically wrong reading is "there's a 95% probability the true value is inside this exact interval," because the true value is fixed, not random. In practice most stakeholders use the plain-English version, and that's fine.

Q22

What's the difference between a Type I and Type II error?

Show sample answerSay yours out loud first, then check.

A Type I error is a false positive: you reject the null hypothesis when it's true. A Type II error is a false negative: you fail to reject the null when it's false. The tradeoff to mention is that a lower significance threshold (alpha) cuts Type I errors but raises Type II. In A/B test terms, Type I means shipping a change that didn't help, and Type II means killing a change that would have helped. Most product teams worry more about Type I, since nobody wants to ship false positives.

Q23

How do you design an A/B test for a new feature?

Show sample answerSay yours out loud first, then check.

Four steps. (1) Define the metric. One primary metric, two or three secondary ones, and at least one guardrail metric (something that should NOT move). (2) Work out sample size with a power calculation using the expected effect size, the significance threshold (usually 0.05) and the desired power (usually 0.80). (3) Randomize. Assign users to control or treatment with a deterministic hash on user_id so cohorts don't drift. (4) Run it for at least one full week. Don't stop early, and don't peek and stop the moment it looks significant, because that inflates Type I error. Read the result at the sample size you set in advance.

Q24

What's the difference between correlation and causation?

Show sample answerSay yours out loud first, then check.

Correlation is a statistical link between two variables. Causation means one drives a change in the other. Correlation doesn't prove causation because of confounders (a third variable causing both), reverse causality (the outcome affecting the supposed cause), and plain chance. The textbook case: ice cream sales track drowning deaths. Hot weather causes both, and neither causes the other. When a stakeholder asks "does X cause Y?", the move is to check whether the data can support causation (a controlled experiment or A/B test) or only correlation (observational data).

Q25

What is R-squared and how do you interpret a value of 0.65?

Show sample answerSay yours out loud first, then check.

R-squared, the coefficient of determination, is the share of variance in the outcome that the predictor(s) in a regression explain. A value of 0.65 means 65% of the variation is explained by the predictors, and the other 35% isn't (noise plus whatever variables were left out). The nuance worth saying: a high R-squared doesn't mean the model is right, only that it fits the training data, so always check it on held-out data. Context matters a lot too. In social science, 0.3 can be excellent. In physics, 0.99 might not be enough.

Data visualization interview questions: Tableau and Power BI (8 questions)

Study whichever tool the job description lists to about 70% depth, and the other to about 30%. Most of the ideas carry over between them. These eight cover what gets asked.

Q26

What's a calculated field and how do you write one in Tableau?

Show sample answerSay yours out loud first, then check.

A calculated field is a Tableau formula that builds a new measure or dimension out of existing fields, written in Tableau's expression language. Examples: [Sales] - [Cost] for profit, or IF [Revenue] > 1000 THEN "High" ELSE "Low" END for a tier. Calculated fields run at query time, so they're slower than columns precomputed in the source data. Use one when the metric definition needs to live in the dashboard rather than in the warehouse.

Q27

What is a level-of-detail (LOD) expression in Tableau and when do you use one?

Show sample answerSay yours out loud first, then check.

LOD expressions let you aggregate at a different granularity than the view you're looking at. There are three kinds. FIXED ignores the view's dimensions and aggregates at the level you name. INCLUDE adds a dimension to the view's level. EXCLUDE takes one away. For example, { FIXED [Customer ID]: SUM([Sales]) } returns total sales per customer no matter which dimensions sit on the view. Typical uses are customer-level metrics on a date-level view, percent-of-total calculations, and cohort analysis. Above the Tableau basics, LOD expressions are the single most-tested concept.

Q28

What's the difference between a dimension and a measure in Tableau?

Show sample answerSay yours out loud first, then check.

Dimensions are categorical fields you slice or group by (product, region, date). Measures are numeric fields you aggregate (sales, count, profit). Tableau classifies fields automatically when you connect a data source, and you can override that. Some fields play both roles: order_id is a dimension when you group by order and a measure when you count orders with COUNT(order_id).

Q29

How do you create a parameter in Tableau and how is it different from a filter?

Show sample answerSay yours out loud first, then check.

A parameter is a single value the user controls (a number, date or string) that you can reference in calculations, filters or reference lines. A filter limits which rows show up in the view. So a filter acts on the data directly, while a parameter is user input you wire into a calculation or filter yourself. Example: a "Top N" parameter wired into a Top N filter lets the user pick 5, 10 or 25 from a dropdown.

Q30

What's a Tableau dashboard action and what are the three most common types?

Show sample answerSay yours out loud first, then check.

Dashboard actions are interactive behaviors triggered by clicks or hovers. The three most common types are Filter actions, where clicking a mark filters another view. Highlight actions, where clicking highlights matching marks across views. And URL actions, where clicking opens an external URL or another view. Use Filter actions for drill-down dashboards, Highlight actions to show how views relate, and URL actions to jump to a detail page or an outside system. Tableau also has Go to Sheet, Change Parameter and Change Set Values actions.

Q31

What is DAX and how is it different from Tableau's expression language?

Show sample answerSay yours out loud first, then check.

DAX (Data Analysis Expressions) is Power BI's formula language, used for calculated columns, measures and calculated tables. The syntax is different from Tableau's, but the concepts line up: filter context, row context and aggregation. A DAX measure looks like Total Sales = SUM(Orders[Sales]). A DAX calculated column looks like Margin = Orders[Sales] - Orders[Cost]. Power BI interviews poke at DAX the same way Tableau interviews poke at LOD expressions.

Q32

How do you design a sales dashboard with three views?

Show sample answerSay yours out loud first, then check.

The standard layout has three layers. (1) A KPI summary across the top: total sales, total orders, average order value and gross margin as big-number tiles. (2) A time series in the middle: monthly sales with a year-over-year comparison line. (3) A categorical breakdown at the bottom: sales by region, product category or sales rep, as a bar chart or treemap. Add filters for date range, region and product, plus a dashboard action so clicking a region on the bar chart filters the trend line. The prompt is rarely "build this in 45 minutes." It's usually "sketch the design and tell me why each view is there."

Q33

What's the difference between Tableau Public and Tableau Desktop?

Show sample answerSay yours out loud first, then check.

Tableau Public is the free version. It publishes dashboards to a public Tableau Public profile, so the data has to be public. Tableau Desktop is the paid product that connects to private data sources and publishes to Tableau Server or Tableau Cloud (also paid). For a CS new grad building a portfolio, Tableau Public is the right pick. Build dashboards on public datasets (Kaggle, data.gov, fivethirtyeight) and link your Tableau Public profile from your resume.

Business case study interview questions for data analysts (5 questions)

A business case study is a metric-reasoning prompt where the interviewer asks you to think through a data question out loud, with no code. It's the highest-variance round in a data analyst loop because it tests business sense, and business sense can't be crammed in a week. Practice the structure on these five until it feels automatic.

Q34

Daily active users dropped 15% on Monday. Walk me through how you'd investigate.

Show sample answerSay yours out loud first, then check.

Structure: (1) Clarify the metric. Is DAU users with at least one session, or at least one specific event? Did that definition change? (2) Segment the drop: by platform (iOS, Android, web), by geography, by cohort (new, returning, power users), and by feature (which features saw less use). (3) Form three hypotheses. A bug deployed Friday or over the weekend. A holiday or outside event hitting traffic. A measurement problem, like a broken tracking pipeline. (4) Propose the queries. Monday DAU split by platform against the previous four Mondays. The release log for Friday deploys. Tracking pipeline health. (5) Say what result would confirm each hypothesis. Strong answers stay calm when the prompt is deliberately vague. Weak answers panic.

Q35

The product team wants to launch a new feature. How would you design the experiment?

Show sample answerSay yours out loud first, then check.

Use the same four steps as Q23: define the metrics with a guardrail, size the test with a power calculation, randomize on a hashed user ID, and run at least a full week before reading the result at the planned sample size. Then analyze: primary metric first, then guardrails, then a cut by major user cohort to look for effects that differ between groups.

Q36

A stakeholder says the conversion rate dropped from 5% to 4% last week. What do you check first?

Show sample answerSay yours out loud first, then check.

Start by asking what they want to do about it. The real question isn't "investigate the drop," it's "is this real, and what action does it call for?" Then check: (1) Is the metric defined the same way as last week? (2) Is the denominator the same population? Some metric pipelines quietly change it. (3) Is the drop statistically significant at this sample size? A 5% to 4% drop on 1,000 users might be noise. On 1,000,000 users it's a real event. (4) Segment to find where the drop comes from. Only after you've located it should you start guessing why. Strong analysts ask questions before they dig.

Q37

How would you measure the success of a customer support team?

Show sample answerSay yours out loud first, then check.

Five candidate metrics: time-to-first-response, time-to-resolution, ticket volume per agent per day, customer satisfaction score (CSAT), and first-contact resolution rate. The interviewer doesn't want a list, though. They want the right mix. The trap is optimizing for time-to-resolution alone, which pushes agents to close tickets without fixing them. A mix that's hard to game: CSAT (the customer judges), plus first-contact resolution (the customer didn't have to come back), plus volume adjusted for complexity, so a senior agent's hard tickets aren't compared with a junior agent's easy ones.

Q38

Senior leadership asks you to build a dashboard for the executive team. What questions do you ask before building?

Show sample answerSay yours out loud first, then check.

Five questions. (1) Who's reading it, and how numerate are they? Finance-savvy execs and product PMs need different things. (2) How often will they look at it: daily, weekly, or in monthly reviews? (3) What decisions will it drive: board-deck context, weekly operating reviews, ad-hoc questions? (4) How much data lag is acceptable: real-time or yesterday's numbers? (5) What's the source of truth for each metric? Is there an existing definition, or are we writing one? Strong analysts gather requirements first. Weak analysts build, present, then rework. Here, the list of questions you ask is the deliverable.

Behavioral and soft-skills questions for data analysts (5 questions)

The behavioral round closes nearly every analyst loop. Three things get graded: communication, curiosity and tenacity. Use the STAR framework (Situation, Task, Action, Result) for each answer.

Q39

Tell me about a time you had to explain a complex analysis to a non-technical stakeholder.

Show sample answerSay yours out loud first, then check.

Structure: (Situation) Set the scene: who the stakeholder was and why the analysis mattered. (Task) What did you need them to understand? (Action) How did you frame it? Lead with the answer, then the why, then the caveats. Show a chart or a one-number summary rather than the method. (Result) Did they make the decision? Did the analysis change anything? A strong answer shows communication maturity. A weak one dives into technical detail nobody asked for.

Q40

Tell me about a time a stakeholder pushed back on your numbers.

Show sample answerSay yours out loud first, then check.

Structure: (S) A real moment when a PM or exec questioned a metric you produced. (T) You had to either defend the number or find the gap. (A) The right move is to not get defensive. Ask what number they expected and where it came from, then reconcile the two. Sometimes you're wrong (a bad join, a stale dashboard). Sometimes they are (a different metric definition, a different time window). Sometimes both definitions are valid and the real disagreement is which one to use. (R) The reconciled answer, ideally with a written decision on which definition to use from now on.

Q41

Tell me about a time you noticed an error in your work after presenting it.

Show sample answerSay yours out loud first, then check.

Structure: (S) You presented a metric or analysis. (T) You spotted an error after the meeting. (A) Own it right away. Email the stakeholders with the correction and the fixed analysis, and explain what went wrong and why. Don't bury it, and don't wait for someone else to find it. (R) The trust you keep by correcting yourself is worth far more than the brief embarrassment. Senior analysts often treat this as a strong seniority signal.

Q42

Tell me about a time you had to learn a new tool quickly.

Show sample answerSay yours out loud first, then check.

Structure: (S) A project that needed a tool you didn't know yet, like Tableau, Power BI, dbt or a specific database. (T) You had to get to working proficiency fast. (A) Free tutorial videos for the basics, then a small toy project to get the syntax into your hands, then the real project with lots of targeted searches as issues came up. The signal they want is that you learned by building, not just by reading. Self-taught analysts who can ramp up on a new tool in a week beat formally trained analysts who need a course.

Q43

Why do you want to be a data analyst instead of a software engineer?

Show sample answerSay yours out loud first, then check.

For a CS new grad, this is the pivot question. Three honest ways to frame it. (1) Coursework: "I enjoyed the database class more than the algorithms class. Building dashboards from real data felt more useful than solving abstract problems." (2) Career shape: "I want to work close to the business. Analytics puts me near product decisions in a way pure engineering doesn't." (3) Market: "I've been applying for SWE roles since spring 2025 and the saturation is brutal. Analytics is where I can ship work and build tenure faster." Honesty wins here. Recruiters in 2026 see this pivot constantly and respect candidates who can name the why without flinching.

How to prepare for a data analyst interview (5 steps)#

This is a focused four-week plan for a CS new grad with strong database fundamentals and no formal analytics experience, plus a short warm-up on interview day. Shift it around if you're starting from somewhere else.

  1. Week 1: SQL deep dive. Four hours a day on window functions (RANK, DENSE_RANK, ROW_NUMBER, LAG, LEAD), multi-CTE queries, self-joins, conditional aggregation and query optimization. Use a free practice platform with real datasets. By the end of the week you should handle the 10 SQL questions above without hesitating.

  2. Week 2: Excel, pivot tables and light statistics. Three hours a day hands-on in Excel: pivot tables, INDEX/MATCH, XLOOKUP, SUMIFS, dynamic-array functions and data cleanup. Build one real cleanup-and-analysis project on a public CSV. Then one hour a day on reading statistics: p-values, confidence intervals, correlation versus causation and A/B test design.

  3. Week 3: Pick Tableau or Power BI and build one portfolio dashboard. Choose the tool your target job lists and finish its official free training. Build one dashboard on a public dataset with at least three views (KPI summary, time series, categorical breakdown). Publish it on Tableau Public, or in a GitHub README with screenshots.

  4. Week 4: Business cases, behavioral and mock interviews. Spend the first three days on case practice with five worked examples. Days 4-5 go to STAR behavioral prep, where you write 6-8 short stories. Days 6-7 are three timed mock interviews: SQL whiteboard, business case and behavioral.

  5. Morning of the interview: warm up with your dashboard portfolio. Open your Tableau Public or Power BI work. Rehearse the 60-second walkthrough you'd give if someone asks about the project, and run through the top 10 SQL patterns. Ten minutes total. Then walk in.

Data analyst interview format by role type#

The same "analyst" title gets interviewed differently depending on industry, company size and team setup. Here's how five common analyst-track openings in 2026 break down:

Role variantSQL depthExcel depthStats depthViz toolCase study weightLeetCodeBehavioral
Product Analyst (large tech)HighLowMediumHeavy (Tableau / Looker)HighSometimes one roundMedium
Business Intelligence AnalystHighMediumLowHeavy (Power BI / Tableau)MediumAlmost neverMedium
Marketing AnalystHighHighMediumHeavy (one tool)Medium-HighNeverMedium
Financial Analyst (tech-adjacent)MediumHighestLowLightHighNeverHigh
Operations AnalystHighHighLowMediumHighAlmost neverMedium

Two patterns jump out. SQL is universal: every variant tests it at real depth. Excel weight, on the other hand, swings by role. Marketing and Finance variants treat Excel as essential, while Product Analyst roles treat it as background. Targeting Product Analyst at a large tech company? Put Excel polish lower on the list and spend that time on SQL depth plus a Tableau or Looker portfolio. Targeting Marketing or Finance Analyst at a mid-market company? Your Excel skills are a big part of the signal.

How to handle data analyst questions you've never seen#

At least one question will catch you off guard. Maybe an Excel function you've never used, a stats idea you forgot, or calculated-field syntax for the tool you didn't study. The candidate who freezes loses the round. The one who reasons out loud often passes even with the wrong final answer.

Here's a four-step pattern for unfamiliar questions.

1. Restate the question. Slow down and confirm what's being asked. It buys you about 10 seconds to think and shows careful reasoning. For example: "So you're asking how I'd compute year-over-year growth in Tableau without precomputing it in SQL. Let me think about that."

2. Say what you know and what you don't. Don't bluff. "I know there's a way to do this with a table calculation or an LOD expression. I'm not sure which one is cleaner here, so let me reason through both." Calibration beats confidence.

3. Reason from first principles. If you can't remember the answer, build it. "Year-over-year growth is current year minus previous year, divided by previous year. In SQL that's a self-join or a LAG window function. In Tableau, the LAG equivalent is a table calculation called LOOKUP." That chain of reasoning is the thing being graded.

4. Test the idea if you can. Asking "Can I sketch the query on the whiteboard?" or "Can I open Tableau and try it?" works in most rounds. If they say yes, do it. If not, talk it through out loud with as much detail as you can.

Tricky analyst questions are rarely about memorization. They're about whether you understand the model underneath: aggregation grain, filter context, and the difference between row-level and group-level calculations. Show the reasoning, and the understanding comes through with it.

Common data analyst interview mistakes for CS new grads#

These are common mistakes in new-grad data analyst interviews.

Treating SQL as solved. Grads who took one database course assume SQL is handled, then bomb the window-function round. The entry-level analyst bar sits meaningfully above coursework SQL. Spend the week on window functions, multi-CTE queries, conditional aggregation and self-joins, and drill them.

Refusing to learn Excel. Some CS grads see Excel as beneath them: "I'll just use Python or SQL." What the interviewer hears is a candidate who won't learn the tools the team uses, and that loses the round. Learn pivot tables, INDEX/MATCH, XLOOKUP and SUMIFS. Three days of Excel practice pays off for years.

Skipping the portfolio dashboard. A pivoter with no Tableau or Power BI work to show looks like someone who hasn't done the work. The portfolio is what makes you credible. Eight to twelve hours of focused work produces one dashboard that makes the pivot story believable.

Panicking on case studies. The business case round tests calm under ambiguity, and CS grads who treat it like a technical puzzle tend to fail it. The structure to absorb: clarify, segment, hypothesize, propose the queries, then state what would confirm each idea. Practice five worked examples until it runs on autopilot.

Quoting p-values without explaining them. Saying "the p-value was 0.03" without telling a non-technical stakeholder what it means is a senior-level red flag. Always give significance, effect size and what it means in practice. The interviewer is checking communication, not only stats knowledge.

Underestimating the behavioral round. Analysts spend half their time talking with stakeholders, and this round probes exactly that. New grads who skip STAR prep show up without specific examples and ramble. Write 6-8 short stories ahead of time.

One thing I'd add from watching new grads pivot in 2026. The SWE-to-DA pivot works once the candidate stops trying to prove they're a programmer who happens to be sitting in an analyst interview. Analysis is its own craft, so lean into it. CS coursework helps, but it doesn't substitute. Build the portfolio, drill the SQL, and talk like an analyst.

How to switch from software engineer to data analyst in 2026#

For a CS new grad with database fundamentals, the SWE-to-DA pivot is the most reachable way off a stalled SWE pipeline. It works when three pieces line up: a resume that signals interest in analytics, a portfolio that backs that signal up, and a prep plan that closes the technical gap. Here's each piece.

Resume positioning. Don't rewrite SWE internships to claim analyst experience you never had. Do reword them to bring out the analytics-adjacent work that was there. Original line: "Built backend services in Python and Node.js." Reframed line: "Built Python data-processing services for [X] API integration, including SQL pipelines that aggregated 50K events daily into reporting tables for the ops team." Same work in both lines. The second one speaks the vocabulary a resume screener for analyst roles is scanning for.

Add a portfolio section. Two pieces of work, documented at a real-code level:

  • A Tableau Public dashboard or Power BI report on a public dataset, with at least three views (KPI summary, time series, categorical breakdown). Six to ten hours of focused work. Publish it and link it from your resume.
  • A SQL portfolio repo on GitHub: 10-15 well-commented queries against a public dataset, each answering a real business question. Include window functions, multi-CTE queries and query optimization examples. Describe the dataset and the questions in a README. Eight to ten hours.

That portfolio is your credibility. Recruiters who doubt the pivot tend to come around once they see a real dashboard and a real SQL repo.

Drop SWE-only signals from the top of the resume. If your resume opens with "Implemented Dijkstra's algorithm in C++" and "Built a React frontend for a hackathon," move those down into an "Other Projects" section below the analytics portfolio. The top of the resume tells a recruiter which role you want next.

Update the LinkedIn headline. Before: "Software Engineer | Python, Java, JavaScript." After: "Data Analyst | SQL, Tableau, Excel, Python | CS New Grad." Recruiters search on that headline. If "data analyst" isn't in it, you won't show up in their searches.

Be honest with yourself about salary. Entry-level analyst salaries run about $15-20K lower than entry-level SWE salaries in the US. The math is simple, though: a $75K analyst job beats $0 unemployed. Five years out, the analyst path opens senior-analyst, analytics-engineer and data-scientist seats that pay competitively. The pivot trades another year of "almost-SWE" applications for a real job that builds tenure.

The hard part: business sense. The technical gap from CS new grad to entry-level analyst is small. SQL, Excel, one viz tool and light stats, and four weeks of focused prep closes it. The harder gap is the business case round. New grads who've never had to explain a metric to a PM struggle with case questions. The fix is to read five worked case studies and practice the structure out loud. Mock interview tools that drill case studies in real time speed up closing this gap. The free plan (60 minutes a month with no card; Pro is $29 a month) gets you timed case reps, so you walk into the real loop able to clarify, segment and hypothesize without freezing. That's the difference between another rejection and the offer that ends the search.

One pattern from watching candidates make this switch: the SWE candidate at month 11, with 487 applications, 14 interviews and zero offers, usually thinks the analyst path is a step down. It isn't. Base pay is $15-20K lower at entry. The work sits meaningfully closer to product and business decisions. And the path opens well-paid senior roles. The candidate who pivots in 2026 doesn't lose a career. They end the search.

The pivot reads as honest when:

  • The portfolio dashboard exists and the candidate can walk through it for 60 seconds.
  • The SQL repo exists and the candidate can explain three of the queries.
  • The candidate doesn't claim experience they don't have.
  • The "why analyst, not engineer" answer is coherent and specific.

The pivot reads as dishonest when:

  • The resume claims analyst experience that doesn't appear in the work history.
  • The candidate can't talk about the portfolio in the technical screen.
  • The "why analyst" answer boils down to "SWE wasn't hitting and I needed something."

Be honest, build the portfolio, drill the SQL, and walk in.

Data analyst vs data scientist vs data engineer: which seat fits a CS new grad?#

Before you commit to a prep plan, pick one path. All three roles are reachable from a CS new-grad background, just from different angles.

AxisData AnalystData ScientistData Engineer
Primary skillSQL + business reasoning + viz toolStatistics + ML + experimentationPipeline design + tooling
SQL barHigh (window functions, optimization)Medium-High (analytical SQL)High (window functions, optimization)
Python barLow-Medium (pandas, basic ETL)High (numpy, pandas, scikit-learn, sometimes PyTorch)Medium (data-processing patterns)
Stats / math barLow-Medium (interpretation)High (hypothesis testing, regression, ML)Low (basic probability)
ML barAlmost noneCore competencyAlmost none
LeetCode barAlmost noneOne round at FAANGLow (one round at FAANG)
Viz toolHeavy (Tableau, Power BI, Looker)Light (matplotlib, plotly)Almost none
ToolingExcel, Tableau, SQL, sometimes dbtJupyter, scikit-learn, ML librariesSpark, Airflow, dbt, warehouses
Day-to-dayDashboards, ad-hoc reports, business questionsModels, experiments, A/B testsPipelines, infrastructure, data flow
Entry-level US salary (2026)$65K-$95K$95K-$140K$85K-$130K
Time-to-offer for CS pivot30-45 days prep60-90 days prep30-45 days prep
Saturation (vs SWE)Meaningfully lowerLowerMeaningfully lower
CS coursework signal neededDatabase classStats + ML classDistributed systems or OS class

Honest pivot picks for a CS new grad in 2026:

  • Data analyst if your strongest CS course was databases, you've never enjoyed statistics, and your main goal is ending the search fast.
  • Data scientist if you took stats and ML courses and liked them, you have at least one ML portfolio project, and you can afford 60-90 days of focused prep.
  • Data engineer if you took distributed systems or OS, you enjoy systems thinking, and you want to work close to the infrastructure.

Most CS grads without stats coursework do best pivoting into data analyst or data engineer. The analyst path is quicker (30-45 days). The engineer path pays a bit more over the long run. Choose the prep stack that matches the strengths you already have.

The full data engineer pivot lives in the data engineer interview questions guide for CS new grads. Its systems-thinking material still applies if you decide engineering suits you better than analytics.

How to ace the SQL whiteboard round (the highest-stakes round)#

In a data analyst loop, the SQL whiteboard carries the most weight of any single round. It usually runs 30-45 minutes. The interviewer writes the schema on the board or shares it on screen, and you write queries by hand or in a shared editor that can't run them.

Three habits win this round.

1. Narrate as you write. Writing SQL in silence is a known anti-pattern. Talk through your reasoning while you type: "I need to join orders to customers to get the region. Then I'll filter to last week, aggregate by region, and sort by total spend descending." If the syntax slips, the narration still earns you partial credit.

2. Start with the simplest query that gets close. Don't try to write the perfect multi-CTE answer on the first pass. Write a brute-force version that returns roughly the right shape, then ask if they'd like to see it optimized. They usually say yes. And if time runs out, that partial version protects you.

3. State your assumptions about the schema and data. "I'm assuming the orders table has one row per order line. If it's one row per order with a JSON array of items, the query changes." Spoken assumptions read as seniority. New grads who keep them silent get marked down for sloppiness.

The trap that sinks most candidates is getting window function syntax wrong: the OVER clause, the PARTITION BY, the ORDER BY inside the OVER. Drill them the week before until you can write RANK() OVER (PARTITION BY department ORDER BY salary DESC) without looking it up. One way to check those drills: put a practice question and its schema on your screen, capture it with the InterviewChamp.AI hotkey, and compare the approach it suggests with the query you wrote by hand. In a live round, use it only if the company allows AI tools.

The real gap is between knowing a pattern and saying it cleanly while someone watches you. If you want to feel that pressure before it counts, run a timed SQL-whiteboard mock and practice narrating the query out loud until the words come out in your own voice on the first take.

Data analyst interview cheat sheet#

Here's a one-page reference of the top idioms across SQL, Excel, statistics and Tableau. Use it as your morning-of warm-up.

#IdiomDomainUse case
1RANK() OVER (PARTITION BY x ORDER BY y)SQLRank within group
2LAG(col) OVER (PARTITION BY x ORDER BY y)SQLCompare to previous row
3SUM(CASE WHEN c THEN val ELSE 0 END)SQLConditional aggregation
4WITH cte1 AS (...), cte2 AS (...) SELECT ...SQLMulti-CTE pipeline
5ROW_NUMBER() OVER (PARTITION BY g ORDER BY ts DESC)SQLTop-1 per group
6Pivot table > Rows / Columns / Values / FiltersExcelCross-tab summary
7=XLOOKUP(val, lookup_range, return_range)ExcelModern lookup
8=SUMIFS(sum_range, c1_range, c1, c2_range, c2)ExcelMulti-condition sum
9=UNIQUE(range)ExcelDistinct values
10=FILTER(range, condition)ExcelConditional filter
11p-value < 0.05 ≈ statistically significantStatsHypothesis test threshold
1295% CI = "true value likely in this range"StatsPlain-English interpretation
13Sample size depends on effect size + alpha + powerStatsA/B test design
14Correlation ≠ causationStatsAlways check for confounders
15{ FIXED [Customer]: SUM([Sales]) }TableauFixed-grain aggregation
16Calculated field: IF [x] > 100 THEN "High" ELSE "Low" ENDTableauConditional tier
17Dashboard action (most common): Filter / Highlight / URLTableauInteractivity
18Parameter > Dropdown > Wire into calcTableauUser input
19Total Sales = SUM(Orders[Sales])Power BI DAXMeasure syntax
20KPI > Trend > BreakdownDashboard designThree-view default

Memorize the SQL and Excel rows first. The Tableau and Power BI rows depend on which tool your target job uses.

Key terms#

Analytics vocabulary covers more ground than SWE vocabulary does. Get these terms wrong and the interviewer notices. Get them right and you clear the credibility check.

Window function. A SQL function that computes a value across a set of rows related to the current row, without collapsing them the way GROUP BY would. Examples: RANK, ROW_NUMBER, LAG, LEAD, and SUM with OVER. Used for ranking within partitions, comparing against previous rows, and running totals. The single most-tested SQL concept in 2026 analyst interviews.

Pivot table. An Excel feature that reshapes data from long format (one row per observation) to wide format (one row per group, with categories as columns). It's the equivalent of a SQL GROUP BY with the category promoted into columns. Pivot tables also give you row totals, percent-of-total and drill-downs without writing code. The most-tested Excel skill in analyst interviews.

Calculated field. A formula in Tableau (or a DAX measure in Power BI) that creates a new measure or dimension from existing fields at query time. Examples: profit = sales - cost, or a tier built with IF/THEN logic. It runs slower than a precomputed column in the source data because it executes on every query. Tableau questions probe its syntax, and Power BI DAX questions probe the same idea in different syntax.

Level-of-detail (LOD) expression. A Tableau construct that aggregates at a different granularity than the view. It comes in three flavors: FIXED (ignore the view's dimensions), INCLUDE (add a dimension) and EXCLUDE (remove one). Used for customer-level metrics on a date-level view, percent-of-total calculations and cohort analysis. The most-tested Tableau concept beyond the basics.

A/B test. An experiment that randomly assigns users to a control group or a treatment group to measure the causal effect of a change. The usual interview prompt is "how would you design an A/B test for X feature?", and a good answer covers metric choice, sample size, randomization unit, duration and the analysis plan. The most-asked stats concept in product analyst interviews.

p-value and confidence interval. A p-value is the probability of seeing the result (or something more extreme) if the null hypothesis is true, and p < 0.05 is the conventional cutoff for "statistically significant." A 95% confidence interval is a range that would contain the true population value 95% of the time across repeated experiments. Interviewers test interpretation, not derivation.

Correlation vs causation. Correlation is a statistical association between two variables. Causation means one variable causes a change in the other. Correlation doesn't imply causation because of confounders, reverse causality and chance. Causation is established only through controlled experiments (A/B tests) or careful observational analysis with strong identifying assumptions. It's the most-confused stats concept in analyst interviews.

KPI (Key Performance Indicator). A primary metric a team tracks to measure progress toward its goals. Strong KPIs are specific, measurable, time-bound and actionable. Examples: weekly active users for a consumer product, gross merchandise volume for a marketplace, monthly recurring revenue for a SaaS business. The first view on nearly every executive dashboard is the KPI summary.

Dimension vs measure. In Tableau and Power BI, a dimension is a categorical field you slice or group by (product, region, date), and a measure is a numeric field you aggregate (sales, count, profit). The tools classify fields automatically when you connect a data source, and some fields can be either depending on use. When you open a new dataset, the first thing to ask is which fields are dimensions and which are measures.

ETL and ELT. ETL (Extract, Transform, Load) pulls data from source systems, transforms it in a separate staging engine, then loads it into the warehouse. ELT (Extract, Load, Transform) loads the raw data into the warehouse first and transforms it there. Modern data stacks are mostly ELT. Analysts mainly consume what these pipelines produce, but interviewers still test the vocabulary.

Knowing the words above gets you past the credibility check. Knowing what sits behind them, like when each pattern applies and what it trades off, gets you past the technical depth check too.

Data analyst interview FAQ#

How long does it take to prepare for a data analyst interview?

For a CS new grad with database fundamentals, about four weeks of focused prep, following the plan above. The comparison table puts the analyst pivot at 30-45 days of prep overall.

Do data analyst interviews include LeetCode?

Rarely. Below FAANG-tier analytics teams, algorithm rounds usually get skipped. The role-type table shows the exceptions, like a possible single round for Product Analyst at large tech.

Which viz tool should I learn, Tableau or Power BI?

Whichever one the job description lists. Go about 70% deep on that one and 30% on the other, since most concepts carry over.

Where can I practice for free?

Use a free SQL practice platform with real datasets, Tableau Public for a portfolio dashboard, and public datasets from Kaggle, data.gov or fivethirtyeight. For timed case and SQL reps, the free plan mentioned above covers 60 minutes a month.

The data analyst interview is one of several formats a CS new grad may run into in the 2026 cycle. These guides close the neighboring gaps:

Pick your gap, jump to the matching guide, close it, then come back to analyst prep.

The short version#

The 2026 data analyst interview is one of the friendliest entry points into tech hiring for a CS new grad. Compared with a SWE loop, it has a lower LeetCode bar, a wider vocabulary, more entry-level openings per applicant and a faster time-to-offer. The pivot is real, and it's honest as long as you learn the material. Thirty days of focused prep on SQL, Excel, stats and Tableau closes the gap between a CS new grad aiming at SWE and an interview-ready entry-level analyst.

InterviewChamp.AI runs realistic data analyst mocks on every interview surface: the SQL whiteboard, the Excel-and-pivot screen, the business case round and the behavioral. One install covers every surface. Start a practice session, narrate as you build the query or the dashboard, get scored on what your interviewer is scoring, and walk into Monday's phone screen ready.


About the author: Sam K. is the founder of InterviewChamp.AI, building AI interview prep for the new-grad CS market and writing about the modern interview gauntlet from the inside.

Originally published on InterviewChamp.AI

Related guides

Interview Process

AI Interview Tools 2026: A Buyer's Guide for CS New Grads

The phrase "AI interview" means three different things in 2026 and most candidates land on the wrong page for their actual problem. It can mean a candidate using AI to help during an interview, an employer using AI to score candidates without a human in the room, or an AI bot that runs an entire mock interview for prep. This guide untangles all three, walks through the seven decision criteria that matter when picking a candidate-side AI tool, covers what interviewers can actually detect in 2026, and lays out a $1,847-budget allocation a real CS new grad can copy. Honest-prep voice. No "100% undetectable" claims. No competitor names.

Sam K. ·

Read more →
Interview Process

CoderPad Alternatives 2026: 6 Tools — Platform Swap or Candidate Help?

CoderPad is the live-coding interview platform that recruiters and hiring managers use to run human-led technical rounds in 2026. Most people searching for CoderPad alternatives are doing one of two things: an employer shopping for a different platform to run interviews on, or a candidate looking for help with a CoderPad round they have coming up. This guide covers both. Six tools compared honestly, with InterviewChamp positioned as the candidate-side helper for practice and, where the company allows it, for live coding rounds on any platform, not just CoderPad.

Sam K. ·

Read more →
Interview Process

InterviewAI Alternatives in 2026: 7 Tools Compared (Mock Practice + Live Interview Copilots)

InterviewAI is the umbrella name people search when they want an AI mock interviewer, an AI that scores async video answers, or a real-time interview helper that surfaces answers during a live round. Three different products live under that one phrase, and the searcher usually wants one of them but lands on a page about the other two. This guide untangles the category, ranks the 7 alternatives most CS new grads actually compare in 2026 (split into mock-practice tools and live-interview copilots), names the price points and ToS posture on each, and gives a one-page decision tree by avatar so Jordan-types stop wasting weekends on the wrong product.

Sam K. ·

Read more →

Frequently asked questions

What do data analyst interview questions test in 2026?
Six axes: SQL fluency at the window-function-plus-multi-CTE level, Excel beyond VLOOKUP (pivot tables, INDEX/MATCH, XLOOKUP, conditional aggregations), statistics at the A/B-test-interpretation bar (p-values, confidence intervals, sample size reasoning), a data-viz tool deep dive (Tableau, Power BI, or Looker), one or two business case studies under a time limit, and the behavioral round most loops still close on. The LeetCode bar is meaningfully lower than a SWE loop, often skipped entirely below FAANG tier. Loops typically run 3-4 rounds with one 4-5 hour onsite, which is shorter than a pure SWE pipeline.
What SQL questions do data analysts get asked?
Window functions (RANK, DENSE_RANK, ROW_NUMBER, LAG, LEAD), multi-CTE queries, self-joins, conditional aggregation with CASE inside SUM or AVG, second-highest-salary patterns, cohort retention queries, and query optimization at a read-the-plan level. The bar is roughly the same as a data engineer at the entry level for pure SQL writing, but data analysts get more business-flavored prompts (find customers whose spend dropped 20% week-over-week) versus the data-flow prompts a data engineer would face. Window functions are universal in 2026. If you can't write a query that ranks within a partition, that's an automatic fail signal.
What Excel skills should a data analyst know for an interview?
Pivot tables (the single most-tested Excel skill), INDEX/MATCH and XLOOKUP, VLOOKUP (still asked even though XLOOKUP supersedes it), SUMIFS and COUNTIFS, conditional formatting, basic data-cleaning functions (TRIM, CLEAN, TEXT, LEFT/RIGHT/MID), and at least one dynamic-array function (FILTER or UNIQUE). The 2026 Excel question pattern at entry level: 'here's a messy CSV, clean it, build a pivot, surface three insights.' If you can do that in 20 minutes without Googling, you pass the Excel axis. Power Query is a senior-level expectation, not entry-level.
What statistics questions do data analysts get asked at the entry level?
Five categories: descriptive statistics (mean vs median when to use which, standard deviation interpretation, outlier detection), probability fundamentals (independence, conditional probability, Bayes at a light level), hypothesis testing (null vs alternative hypothesis, p-value interpretation, type I vs type II errors), A/B test design (sample size, statistical significance, what a 95% confidence interval actually means), and regression intuition (correlation vs causation, R-squared interpretation, linear vs logistic in plain English). The bar is interpretation, not derivation. You don't need to derive the t-distribution. You need to explain what a p-value of 0.03 means to a non-technical PM.
What Tableau interview questions should I prepare for?
Calculated fields (the syntax differs from SQL), level-of-detail (LOD) expressions (FIXED, INCLUDE, EXCLUDE: the single most-tested Tableau concept above the basics), dashboard actions (filter, highlight, URL), parameters versus filters, the difference between dimensions and measures, table calculations (Tableau's running totals and percentage-of-total), and one real-world dashboard design question (build a sales dashboard with three views). Power BI questions cover similar terrain with DAX as the calculated-field language instead of Tableau's expression language. If the job description names a specific tool, study that one to 70% depth and the other to 30%.
What's the difference between data analyst, data scientist, and data engineer interviews?
Data analyst interviews focus on SQL plus business reasoning plus a viz tool. Light statistics, no ML, no infrastructure. Data scientist interviews go deep on statistics, machine learning, A/B test design, and experiment analysis. Data engineer interviews focus on pipelines, distributed systems, Spark, Airflow, dbt, and infrastructure tradeoffs. The analyst seat is the most reachable for a CS new grad without statistics or ML coursework. The data scientist seat needs at least one stats or probability class plus an ML project on the resume. The data engineer seat needs Python plus SQL plus a portfolio project on the modern data stack. Salary differs too: analysts typically $65K-$95K entry level, scientists $95K-$140K, engineers $85K-$130K in the US.
Should CS new grads pivot from SWE to data analyst in 2026?
For most CS new grads applying since spring 2025 with no SWE offers, the data analyst seat is the most reachable pivot. Lower LeetCode bar (often zero), fewer applicants per opening, and faster time-to-offer per Class-of-2025 cohort reports on r/cscareerquestions through Q1 2026. The honest tradeoff: analyst salaries run about $20K lower than SWE at entry level in the US. The pivot is worth it if your goal is to end the search and start building tenure. The CS coursework that helps most: any database class for SQL, any introductory stats class for the statistics axis, and any project that involved building a dashboard or report. The pivot reads as honest when the resume signals analytics interest and the portfolio includes one real Tableau or Power BI artifact.
How many rounds is a data analyst interview loop?
Entry-level data analyst loops are typically 3-4 rounds: recruiter screen, technical phone screen (SQL plus one stats question plus one Excel question), onsite SQL whiteboard plus business case plus behavioral, and sometimes a final-round chat with the hiring manager. The onsite runs 3-4 hours, meaningfully shorter than a SWE onsite. Mid-market and consulting firms often replace the onsite with a take-home (build a dashboard from a provided dataset, write up three insights) and one follow-up technical screen. The take-home is more common in analytics than in software engineering.
What is a SQL window function and how do I use it in an analyst interview?
A window function computes a value across a set of rows related to the current row, without collapsing the rows the way GROUP BY would. Syntax: function() OVER (PARTITION BY col ORDER BY col). The most-asked window functions in data analyst interviews are ROW_NUMBER (assign sequential numbers within a partition), RANK and DENSE_RANK (rank with and without gaps), LAG and LEAD (access previous or next row in a partition), and SUM or AVG with OVER (running totals and moving averages). Canonical interview prompt: 'find the second-highest salary per department.' Solve with DENSE_RANK() OVER (PARTITION BY department ORDER BY salary DESC) and filter to rank = 2. Memorize this pattern.
What is the difference between a pivot table and a SQL GROUP BY?
A pivot table is an Excel feature that reshapes data from long format (one row per observation) to wide format (one row per group with categories as columns). A SQL GROUP BY collapses rows into aggregated values but keeps the long format. Pivot tables also let you add row totals, column totals, percent-of-total calculations, and drill-downs interactively without writing code. The interview-relevant trap: when a hiring manager says 'pivot the data,' they usually mean the Excel-style reshape. If they say 'aggregate the data by region,' they usually mean GROUP BY. Listen for the verb.
How do I prepare for a data analyst interview in 30 days as a CS new grad?
Week 1: SQL deep dive (window functions, multi-CTE, conditional aggregation, optimization). 4 hours per day on a free practice platform. Week 2: Excel plus pivot tables plus one stats refresh. 3 hours per day Excel hands-on, 1 hour per day on stats interpretation drills. Week 3: Pick Tableau or Power BI (whichever the target job lists), build one portfolio dashboard on a public dataset, study the tool's calculated-field language to a working level. Week 4: business case studies (4-5 worked examples), behavioral STAR prep, and three timed mock interviews. The plan compresses to 20 days for someone with strong CS coursework foundations and stretches to 45 days for someone weaker on SQL.
What's a data analyst business case study question?
A business prompt where the interviewer asks you to reason through a metric question without writing code. Example: 'Daily active users dropped 15% on Monday. Walk me through how you'd investigate.' The expected answer shape: clarify the metric definition, segment the drop by user cohort and platform and geo and feature, form three hypotheses, propose the SQL queries you'd run to test each, and state what would confirm or rule out each hypothesis. Strong answers stay calm under prompted ambiguity. Weak answers panic and start naming tools instead of thinking through the data. The case study round is the highest-variance round in a data analyst loop because it tests business sense, which can't be crammed in a week.
What soft skills do data analyst interviewers grade for?
Three things show up in nearly every behavioral round: communication (can you explain a chart to a non-technical PM without using jargon), curiosity (do you ask clarifying questions before diving into the SQL or do you guess at the requirement), and tenacity (when a query gives you a weird answer do you investigate or do you submit the weird answer). The behavioral round in analytics often probes one specific scenario: a stakeholder asked for a metric, you built the dashboard, they pushed back on the number, what did you do. The expected answer involves checking your work, asking what number they expected, and reconciling the difference. The trap answer: defending your number without checking.
What's the salary range for entry-level data analysts in 2026?
Entry-level data analyst base salaries in the US run $65K-$95K depending on company tier and location, with mid-market employers concentrated at $70K-$85K. Large public tech employers push past $95K with equity. The narrative that analytics pays less than engineering is partially true at the entry level (about $15-20K gap) and narrows meaningfully by year 3-4 when senior analyst and analytics engineer roles approach $130K-$160K. For a CS new grad whose primary goal is ending the search, the analyst entry point is a faster path to tenure than continuing to apply for SWE roles that aren't biting.
What's the most common data analyst interview mistake CS new grads make?
Underestimating SQL. CS new grads who took one database course assume SQL is solved and bomb the window-function round. The interview SQL bar is meaningfully higher than coursework SQL. The second-most-common mistake: skipping the dashboard portfolio. A data analyst pivoter without a Tableau or Power BI artifact on GitHub or a portfolio site reads as someone who hasn't done the work. The third mistake: treating Excel as beneath them. Interviewers ask Excel questions to filter out CS grads who refuse to learn the tools the team actually uses. Excel is the lingua franca of analytics. Learn it.