Back to all tracks

Data Analytics interview questions (2026)

Data analyst interviews usually mix SQL, Excel or Power BI questions with business questions: can you turn a vague request into the right metric, clean messy data, and explain what the numbers mean to someone who isn't technical?

7 technical + 3 behavioural questions with model answersLast updated Roles: Data Analyst, BI Analyst, Reporting Analyst

Technical questions

Try each one out loud first, then open the model answer and compare: did you cover the same points, in a clear order?

What is the difference between WHERE and HAVING?

WHERE filters individual rows before grouping. HAVING filters groups after GROUP BY, so it can use aggregates like SUM or COUNT. SELECT customer_id, SUM(amount) AS total FROM orders WHERE status = 'Delivered' -- row filter GROUP BY customer_id HAVING SUM(amount) > 1000; -- group filter

Explain INNER JOIN vs LEFT JOIN with an example.

INNER JOIN returns only rows that match in both tables. LEFT JOIN returns every row from the left table, with NULLs where the right table has no match. customers LEFT JOIN orders → all customers, including those with no orders (their order columns are NULL). customers INNER JOIN orders → only customers who ordered. Common follow-up: 'find customers with no orders' → LEFT JOIN … WHERE o.order_id IS NULL.

When would you use XLOOKUP instead of VLOOKUP?

XLOOKUP looks left or right, does an exact match by default, doesn't break when columns are inserted, and has a built-in 'if not found' value: =XLOOKUP(A2, Products[ID], Products[Price], "Not found"). VLOOKUP only looks right and depends on a column number. If XLOOKUP isn't available, INDEX-MATCH is the flexible alternative.

What is the difference between a calculated column and a measure?

A calculated column is computed row by row when data refreshes and stored in the model — it uses memory and can be used in slicers/filters. A measure is calculated at query time based on the current filters, e.g. Total Sales = SUM(Sales[Amount]). Use measures for aggregations (most of the time) and columns only when you need a value per row, like a category label.

Sales dropped 15% last month. How would you investigate?

1. Confirm the data: pipeline issues, missing days, tracking changes, refresh failures. 2. Break it down: by region, channel, product, customer type (new vs returning), and by week/day to see when it started. 3. Separate volume from value: fewer orders or lower order value? 4. Check external and internal causes: seasonality vs same month last year, price changes, stock-outs, marketing changes, competitor promotions, site issues. 5. Present the main driver with one clear chart and a recommended next step.

How do you use AI tools in data analysis safely?

I use AI to draft SQL, DAX or Excel formulas, explain unfamiliar code and summarise findings — then I verify: run the query on a sample I can check by hand, compare totals with a trusted report, and read the logic. I never paste confidential or personal data into tools that aren't approved by the company. The analyst is still responsible for the number in the final report.

What is the difference between a primary key and a foreign key? Why do they matter for analysis?

A primary key uniquely identifies each row in a table (for example customer_id in Customers). It cannot be NULL or repeated. A foreign key is a column in another table that points to that primary key (for example customer_id in Orders), creating the relationship between the tables. Why it matters for an analyst: - You join tables on these keys, so you need to know them to avoid wrong joins. - If a foreign key has values that don't exist in the parent table (orphans), a LEFT JOIN shows NULLs and an INNER JOIN silently drops rows, which changes totals. - Checking uniqueness of the key (COUNT(*) vs COUNT(DISTINCT key)) is one of the first data-quality checks before building a report.

Behavioural questions (STAR)

How to structure your answer: use STAR, Situation, Task, Action and Result. Keep the situation short, spend most of the time on what you did (say “I”, not “we”), and finish with the result. Keep it focused: one example, told clearly.

For Data roles: Situation: the business question or report. Task: what you were asked to find or fix. Action: the data you used, how you checked it, and how you presented it. Result: the decision it supported or the error it caught.

Tell me about a time you worked with a messy or incomplete dataset.

Situation: For a practice project I received a customer orders file with 40,000 rows: duplicate orders, three different date formats, and about 15% of postal codes missing. Task: I needed to produce a reliable regional sales summary within a week. Action: I profiled the data first: counts, blanks and duplicates for each column. I removed exact duplicates, standardised the dates, and filled missing regions from the city field where possible. For the rows I could not fix, I kept them in a separate 'unknown region' group instead of guessing, and I wrote down every cleaning step. Result: The final summary covered 97% of sales with a known region, and the notes made it easy for someone else to repeat the analysis the next month. What the interviewer is looking for: A structured cleaning process, honesty about what the data cannot tell you, and documentation others can follow.

Tell me about a time you had a conflict with a teammate. How did you resolve it?

Situation: On a project team, a colleague and I disagreed about how to split the work. He kept changing parts of my tasks without telling me, which caused duplicate work. Task: I needed to fix the working relationship so we could meet our deadline. Action: I asked him for a short one-to-one coffee instead of arguing in the team chat. I explained the impact calmly, using facts ('we both rewrote the same report section last week') rather than blame, and asked how he saw it. He said he was worried about the deadline. We agreed a simple task board so we could both see who owned what, and we checked in for five minutes each morning. Result: We finished on time, and the task board was adopted by the whole team. He and I worked together again on the next project. What the interviewer is looking for: That you address conflict early and privately, focus on the problem, not the person, and find a practical solution.

Describe a time you had to deliver something under a very tight deadline.

Situation: On a Thursday afternoon my manager asked me to prepare a summary report for a senior leadership meeting on Friday morning, a task that normally takes three days. Task: I had to deliver something accurate and useful in less than a day. Action: I asked my manager which three questions leadership most needed answered, so I could focus. I reused existing data and templates instead of starting from scratch, blocked my calendar, and asked a colleague to check my figures for 20 minutes before I sent it. I listed clearly what was not covered and when it would follow. Result: The report was ready by 8 a.m. Friday, leadership made their decision in the meeting, and the full version followed on Tuesday. What the interviewer is looking for: That you clarify priorities, focus on what matters most, protect quality and communicate what is left out.

Want the full question bank? These are the free samples. A Data Analytics package includes 85 more questions with model answers, from fresher to experienced level, plus practice projects you can talk about in interviews.

Practise these out loud with the free AI mock interview

Reading a model answer isn't the same as saying it. Answer Data questions out loud or in writing and get a score, what you did well, what to improve and the follow-up question an interviewer would likely ask. A free account includes 3 scored answers to try it.

Keep preparing

Related guides

Other tracks

QA & Test Automation · Business Analysis · Cybersecurity · AI & GenAI · Cloud & DevOps · AI Automation & Agents · IT Support & Service Desk · Fraud, Risk & Compliance