
Data Analyst Interview Guide: SQL, Excel, Power BI, Tableau & Business Case Questions
A practical roadmap for data analyst interviews covering SQL window functions, dashboard design, metric definition, A/B testing and business storytelling.
Executive Overview & Industry Landscape
Data analyst interviews reward people who can turn a vague business question into a precise query, a trustworthy number and a clear recommendation. Expect a SQL test, a spreadsheet or BI exercise, a metrics case ("why did orders drop 10%?") and a communication check. Tools can be learned quickly; what separates offers from rejections is analytical structure and the habit of validating data before presenting it.
Core Methodology & Strategic Frameworks
The Metric Investigation Framework
How to answer "a key metric dropped, what do you do?" in a structured way.
- Verify the data first: tracking bugs, pipeline delays, definition changes
- Decompose the metric (for example revenue = visitors x conversion x average order value)
- Segment by time, geography, platform, acquisition channel, customer cohort and product
- Check internal changes (releases, pricing, campaigns) and external factors (seasonality, competitors, outages)
- Recommend an action, quantify impact and define how you will monitor it
The Dashboard Design Principles
What BI interviewers look for in a good dashboard.
- Start from the decision the viewer needs to make, not from the available columns
- Place the 3 to 5 headline KPIs top-left with comparisons to target and prior period
- Use the right chart: line for trend, bar for comparison, avoid pie charts with many slices
- Provide filters and drill-down while keeping the default view self-explanatory
SQL Skills Tested in Almost Every Analyst Round
The query patterns that appear repeatedly in online tests and live interviews.
Joins, Aggregation and the WHERE vs HAVING Rule
INNER JOIN returns matching rows only; LEFT JOIN keeps all rows from the left table and fills NULLs where no match exists. WHERE filters rows before aggregation while HAVING filters groups after GROUP BY. Remember that COUNT(*) counts rows while COUNT(column) ignores NULLs, and that NULL comparisons need IS NULL rather than equals.
SELECT c.city, COUNT(DISTINCT o.customer_id) AS buyers, SUM(o.amount) AS revenue FROM orders o JOIN customers c ON c.id = o.customer_id WHERE o.status = 'delivered' GROUP BY c.city HAVING SUM(o.amount) > 100000 ORDER BY revenue DESC;
Window Functions: Ranking, Running Totals and Retention
Window functions compute across related rows without collapsing them. ROW_NUMBER, RANK and DENSE_RANK order rows within a partition; LAG and LEAD compare to previous or next rows; SUM() OVER gives running totals. A classic question is "top 3 products per category" or "second highest salary per department".
SELECT * FROM (
SELECT category, product, revenue,
DENSE_RANK() OVER (PARTITION BY category ORDER BY revenue DESC) AS rnk
FROM product_sales
) t
WHERE rnk <= 3;Statistics, Experiments & Storytelling
The analytical judgment layer on top of tool skills.
A/B Testing Essentials
Define one primary metric and a minimum detectable effect, compute the required sample size before launching, randomize at the right unit (user rather than session), and run for full weekly cycles to avoid day-of-week bias. A p-value below your threshold means the observed difference would be unlikely under no true effect; it does not tell you the size of the effect, so report confidence intervals and practical significance. Avoid peeking and stopping early, and check for sample ratio mismatch.
- Correlation is not causation: use experiments or careful quasi-experimental methods before claiming impact
- Mean can mislead with skewed data; report median and percentiles for order values and latencies
Presenting an Insight in 60 Seconds
Use the headline-evidence-action pattern: state the conclusion first ("Checkout conversion fell 2.1 points because Android payment failures doubled"), show one supporting chart, then give the recommended action with expected impact and owner. Executives remember a decision, not a query.
Real Interview Questions & Model Responses
Verbatim interview questions asked at top employers with structured thought frameworks and scoring criteria.
Daily orders on our app dropped 12% week over week. How would you investigate?
- Always validate that the data is correct before explaining it.
- Narrow the problem with segmentation, then connect to a cause and an action.
Write a query to find customers who purchased in January but not in February.
- Prefer half-open date ranges.
- Know the NOT IN with NULL trap.
Critical Mistakes That Cause Immediate Rejections
- ×Writing queries without checking duplicates introduced by joins.
- ×Presenting numbers without validating them against a second source.
- ×Building dashboards crowded with every available metric and no clear message.
- ×Using averages for heavily skewed data without mentioning the median.
- ×Explaining what the data shows but never recommending an action.
Actionable 30-Day Preparation Checklist
- Solve at least 60 SQL problems covering joins, subqueries, CTEs and window functions.
- Build two dashboards in Power BI or Tableau from a public dataset and publish screenshots in your portfolio.
- Master Excel: XLOOKUP/VLOOKUP, pivot tables, SUMIFS, conditional formatting and basic Power Query.
- Revise mean, median, standard deviation, confidence intervals and hypothesis testing basics.
- Practice three metric-drop cases and three product-metric definition cases aloud.
- Learn basic Python (pandas) for cleaning and exploratory analysis.
- Prepare a two-minute walkthrough of your best analysis project including the business impact.
Frequently Asked Questions
Is SQL enough to get a data analyst job?
SQL is the single most important skill, but you also need a visualization tool (Power BI or Tableau), spreadsheet fluency and the ability to communicate insights. Basic Python is a strong differentiator.
Should I learn Power BI or Tableau?
Power BI is more common in Microsoft-centric enterprises and service companies in India; Tableau is popular in product and consulting firms. The concepts transfer, so learn one well first.
Can a non-technical graduate become a data analyst?
Yes. Commerce, economics and science graduates succeed by building SQL and BI skills and a portfolio of real analyses with clear business conclusions.