Short answer: Fresher data analyst interviews in Bangalore usually have four parts: a SQL round (joins, GROUP BY, window functions), an Excel or Power BI round (lookups, pivot tables, DAX measures), a statistics and case round (averages, outliers, “why did sales drop?”), and a project and HR round where you walk through your own work. This page gives the questions that come up most in each part, with model answers you can adapt, and the traps interviewers set.
This guide is for freshers and career switchers preparing for data analyst, MIS analyst and junior BI roles. Do not memorise the answers. Read each one, then answer out loud in your own words, using an example from your own projects wherever you can.
How a data analyst interview is usually structured
| Round | What they test | How to prepare |
|---|---|---|
| Online test or SQL screen | Writing correct queries under time pressure | Practise 30 to 40 questions on joined tables |
| Tools round | Excel, Power BI or Tableau in practice | Rebuild one dashboard from scratch without notes |
| Case or business round | Structured thinking with numbers | Practise “metric dropped, why?” questions out loud |
| Project walkthrough | Whether you really did the work | A 5-minute story for each portfolio project |
| HR round | Communication, motivation, fit | Clear answers on why data, why this company |
SQL interview questions
1. What is the difference between WHERE and HAVING?
WHERE filters rows before grouping; HAVING filters groups after GROUP BY. For example, WHERE status = 'delivered' removes cancelled orders first, and HAVING SUM(amount) > 100000 then keeps only large categories.
2. INNER JOIN vs LEFT JOIN: when do you use each?
An inner join keeps only matching rows in both tables. A left join keeps every row from the left table and fills unmatched columns with NULL. Use a left join for questions like “customers who never ordered”, then filter WHERE o.order_id IS NULL.
3. Find the second-highest salary in an employees table.
A clear answer uses a window function: rank salaries with DENSE_RANK() OVER (ORDER BY salary DESC) in a CTE, then select the row where the rank is 2. Mention why DENSE_RANK: if two people share the top salary, RANK would skip 2.
4. How do you find duplicate records?
Group by the columns that should be unique and keep groups with more than one row: SELECT email, COUNT(*) FROM customers GROUP BY email HAVING COUNT(*) > 1; Then explain how you would decide which duplicate to keep, for example the latest by updated_at using ROW_NUMBER().
5. Calculate month-over-month revenue growth.
Aggregate revenue by month in a CTE, then use LAG(revenue) OVER (ORDER BY month) to get the previous month and compute (revenue - prev) * 100.0 / prev. Mention multiplying by 100.0 to avoid whole-number division.
6. Why did your join return more rows than expected?
Because the relationship was one-to-many: joining orders to order_items repeats each order once per item. Check row counts after each join, and aggregate to the right level before joining. Interviewers ask this to see whether you understand what one row means.
Practise these on a real schema with our SQL for data analysis guide, which works through each pattern on one sales database.
Excel interview questions
7. VLOOKUP vs XLOOKUP: what is the difference?
XLOOKUP can look left as well as right, defaults to an exact match, and has a built-in value for “not found” (Microsoft: XLOOKUP). VLOOKUP only looks to the right and needs a column number, which breaks when columns are inserted. Say you use XLOOKUP where available and know VLOOKUP for older files.
8. How would you summarise 50,000 rows of sales by region and month?
Convert the range to a table, insert a pivot table with region in rows, month in columns and sum of sales in values, then add a slicer for product category. Mention grouping dates by month in the pivot and checking the grand total against the raw data.
9. How do you clean messy data in Excel?
Remove duplicates, use TRIM and CLEAN for extra spaces, fix data types (text numbers, inconsistent dates), standardise categories such as “Bangalore” and “Bengaluru”, and flag blanks. For repeated monthly cleaning, use Power Query so the steps rerun automatically.
Power BI interview questions
10. Measure vs calculated column: which and when?
A calculated column is computed row by row and stored in the model; use it for values you slice by, such as an age band. A measure is calculated at query time in the current filter context; use it for totals and ratios (Microsoft Learn: Measures). Prefer measures for aggregations, because they do not bloat the model.
11. What does CALCULATE do?
It evaluates an expression in a modified filter context. For example, Delivered Sales = CALCULATE([Total Sales], Orders[Status] = "delivered"). Most advanced DAX, including time intelligence, is built on CALCULATE.
12. Why do you need a star schema?
Fact tables hold events (sales lines) and dimension tables describe them (date, product, customer). A star schema keeps relationships simple, makes filters behave predictably and makes DAX easier, which is why Microsoft recommends it for Power BI models (Star schema guidance).
13. How do you show each regional manager only their region?
Row-level security: create a role in Power BI Desktop with a DAX filter, for example on the region table, test it with “View as”, publish, and assign users or groups to the role in the Power BI service.
More Power BI preparation: Power BI jobs in Bangalore and the PL-300 certification guide.
Statistics questions
14. Mean or median: which would you report for salaries?
Median, because a few very high salaries pull the mean up and make the typical value look higher than it is. Report the mean as well if you also want to show the effect of the outliers.
15. How do you handle outliers?
First check whether they are errors (a typo, a test order) or real (a bulk corporate order). Remove or fix errors; keep real values but consider reporting them separately, or use median and percentiles. Always say what you did in your report.
16. Explain correlation vs causation with an example.
Ice cream sales and AC sales both rise in summer, so they are correlated, but one does not cause the other; temperature drives both. In business, say you would test causation with a controlled comparison, such as an A/B test, before claiming one thing causes another.
Case and business questions
17. “Sales dropped 15% last month. How would you find out why?”
Structure the answer. First confirm the drop is real: check data completeness and compare with the same month last year for seasonality. Then break revenue into orders × average order value, and split by region, channel, product and customer type to find where the drop is concentrated. Finally, check known events such as price changes, stock-outs or a site outage, and recommend what to monitor.
18. Which metrics would you put on a sales dashboard for a manager?
Ask who uses it and what decision it supports. A typical answer: revenue vs target, orders, average order value, return or cancellation rate, and trend by month, with filters for region and product. Explain why each metric is there and keep the first view to five or six numbers.
Project and HR questions
19. Walk me through a project you are proud of.
Use a fixed structure: the business question, the data source and its size, how you cleaned it, the analysis, the dashboard or output, the key finding, and one thing you would do differently. Keep it to about five minutes and expect follow-up questions on any step.
20. Why do you want to be a data analyst?
Give a specific reason linked to something you did, such as a project where a finding changed a decision, rather than “data is the future”. Then connect it to the company’s work, which shows you researched them.
Mistakes that cost freshers the offer
- Jumping into SQL without restating the question. Say what one row of the result should mean before writing anything.
- Silence while thinking. Interviewers score your reasoning; think out loud.
- Projects you cannot explain. If a tutorial built it, they will find out in two follow-up questions.
- Claiming tools you have not used. List fewer tools and know them well.
- No questions at the end. Ask what the first three months in the role look like.
Interview preparation at ASTI
ASTI’s Data Analytics course ends with real-world projects, resume preparation and mock interviews covering technical and HR rounds, after modules in statistics, Excel, SQL, Tableau, Power BI and Python. It runs for about four months in the classroom at BTM 1st Stage, Bangalore, or live online. Placement assistance does not guarantee a job. Course fees start from ₹15,000 depending on the course and training option, with EMI available.
Next step: get your resume ready with our data analyst resume guide for freshers.
Sources
- XLOOKUP function, Microsoft Support
- Measures in Power BI Desktop, Microsoft Learn
- Star schema guidance, Microsoft Learn
- Row-level security, Microsoft Learn
- Window functions, PostgreSQL documentation
- Course details: the Data Analytics course page, checked 3 Nov 2026