Data Analyst Interview Questions (SQL, Dashboards & Case Scenarios)
Expert questions you can rehearse to demonstrate analysis, impact and stakeholder communication.
Published on
Technical Questions
Write a SQL query that identifies customers who made at least 3 purchases in the last 30 days, then compares their average basket value to the prior 90 days and returns only those with a drop of more than 20%.
Checks advanced SQL and whether you can translate business logic into defensible calculations.
Explain how you would use window functions to compute a rolling 7-day conversion rate by channel. What pitfalls do you watch for in SQL?
Assesses whether you can produce analytics-grade SQL and avoid common metric errors.
You’re given a dataset with missing values and duplicates. Describe your approach to data cleaning before building a dashboard.
Evaluates data quality thinking, reproducibility and awareness of KPI integrity.
How would you design a data model for recurring reporting in a BI tool? Compare star schema vs normalised approaches in this context.
Tests whether you understand modelling for performance, correctness and maintainability.
Behavioural Questions (STAR)
Tell me about a time your analysis directly changed a budget, pricing, or product decision. Include the metric you moved and how you proved it.
Assesses impact, causal reasoning and how you communicate results to stakeholders.
How do you handle an urgent request when the data is incomplete or the business definition of the KPI is unclear?
Measures pragmatism, stakeholder management and disciplined assumptions.
Describe how you build trust with non-technical stakeholders when presenting analysis results.
Assesses communication quality, narrative structure and confidence calibration.
What interviewers look for (beyond “can you write SQL?”)
In a Data Analyst interview, strong candidates prove they can convert raw data into a decision-ready recommendation, not just produce correct queries. Expect questions that test how you define metrics, validate data quality, and explain trade-offs using real KPIs such as conversion rate, churn, CAC or margin. Interviewers commonly look for clarity around calculation logic—for example, whether conversion uses unique users versus sessions or whether churn uses a snapshot-based denominator. Tools and workflows often come up naturally, such as SQL window functions for time-series analysis, Power BI for dashboard consistency, and dbt-style modelling for repeatable transformations.
SQL depth that wins: CTEs, windows and metric-safe joins
Rehearse SQL that goes beyond basic SELECT statements, including CTEs for readability, window functions for rolling metrics, and GROUP BY + HAVING for threshold-based logic. A typical challenge is to compute rolling conversion or compare basket values across time windows while avoiding leakage between periods. Interviewers also test whether you understand join cardinality—incorrect joins can inflate totals and quietly damage KPIs shown in Power BI or Tableau. If you can explain how you protect metric integrity (e.g., ensuring the fact grain is correct and validating denominator counts) you’ll stand out. Where relevant, reference indexing or partitioning strategies as part of performance thinking, such as indexing (customer_id, purchase_date) for fast time filters.
Dashboards that executives actually use (ExCo-ready storytelling)
For executive stakeholders, a dashboard must answer three questions quickly: what changed, why it changed, and what to do next. Build your approach around KPI hierarchies—top-level trends (e.g., revenue, churn, NPS, MRR or CAC) with drill-down by product, channel and geography—so leaders can move from overview to root cause. Use time intelligence such as 12-month rolling views and YoY comparisons, and include alerting logic when thresholds breach (for example, margin falling more than 3% over a defined baseline). When discussing implementation, mention how you’d set up dynamic filters, scheduled refresh, and consistent measure definitions in Power BI (DAX) or Tableau calculated fields. The best answers tie chart choices directly to decision rhythms, such as weekly review meetings or monthly board reporting, with measurable outcomes like “identified an 8% margin decline in one segment within one meeting.”
Case scenarios: validating KPIs, handling uncertainty and driving action
In cases, you may be told “the churn is wrong” or “the dashboard looks off”, so your job is to debug the metric definition and the data pipeline. Start with a metric reconciliation plan: confirm numerator/denominator logic, validate join keys, check for late-arriving data, and segment the issue to isolate whether it’s a definition change, data quality breach, or pipeline regression. Then shift into explanation and action by identifying likely drivers—such as onboarding issues affecting retention or channel changes impacting conversion—backed by evidence. When data is incomplete or deadlines are tight, deliver a V1 with explicit assumptions, quantify known gaps, and propose a timeline for a “v2” once additional data lands. This demonstrates both analytical rigour and professional judgement, which is central to effective stakeholder management in analytics teams.
Frequently Asked Questions
You landed one interview. What about the next?
Paste the link + your CV. Tailored CV and cover letter for this role, all applications tracked on Kanban.
More like this
Practical prompts to help you demonstrate real architecture decisions.
Cybersecurity Analyst Interview Questions (Technical + Behavioural)Prepare for the questions that test your investigation, detection, and risk judgement.
Data Engineer Interview Questions (UK-Focused)High-signal questions and strong answer angles you can rehearse.
Data Scientist Interview Questions: Technical + STAR Prep GuidePrepare for a data-science interview with role-specific technical prompts, STAR behavioural answers, and high-impact strategies used by hiring managers in the UK.