Data Analytics
109K subscribers
133 photos
2 files
837 links
Perfect channel to learn Data Analytics

Learn SQL, Python, Alteryx, Tableau, Power BI and many more

For Promotions: @coderfun @love_data
Download Telegram
Now, letโ€™s move to the next topic:

Views (Virtual Tables)

๐Ÿง  1. What is a VIEW?

A VIEW is a virtual table based on a SQL query

๐Ÿ‘‰ It does NOT store data
๐Ÿ‘‰ It stores the query

Think like this ๐Ÿ‘‡
๐Ÿ‘‰ โ€œSaved SQL query โ†’ reuse anytimeโ€

โšก 2. Why Use Views?

- Simplify complex queries
- Reuse logic
- Hide sensitive data
- Improve readability

โšก 3. Create a VIEW

CREATE VIEW high_salary_emp AS
SELECT name, salary
FROM employees
WHERE salary > 50000;

๐Ÿ” 4. Use a VIEW

SELECT FROM high_salary_emp;

โœ” Works like a normal table

๐Ÿ”„ 5. Update a VIEW

CREATE OR REPLACE VIEW high_salary_emp AS
SELECT name, salary, department
FROM employees
WHERE salary > 50000;

โŒ 6. Drop a VIEW

DROP VIEW high_salary_emp;

๐ŸŽฏ 7. Real Example

๐Ÿ‘‰ Create view for department-wise average salary

CREATE VIEW dept_avg_salary AS
SELECT department, AVG(salary) AS avg_salary
FROM employees
GROUP BY department;

๐Ÿ‘‰ Use it:
SELECT FROM dept_avg_salary;

โšก 8. Important Points

- View does NOT store data
- Changes in table โ†’ reflect in view
- Can be used like a table

๐ŸŽฏ 9. Practice Tasks

1. Create view for employees with salary > 40k
2. Create view for IT department employees
3. Create view for avg salary per department
4. Query data using created views
5. Drop a view

๐Ÿ”ฅ Here are the solutions for VIEW practice tasks

โœ… 1. Create view for employees with salary > 40k
CREATE VIEW high_salary_emp AS
SELECT
FROM employees
WHERE salary > 40000;

โœ… 2. Create view for IT department employees
CREATE VIEW it_employees AS
SELECT
FROM employees
WHERE department = 'IT';

โœ… 3. Create view for avg salary per department
CREATE VIEW dept_avg_salary AS
SELECT department, AVG(salary) AS avg_salary
FROM employees
GROUP BY department;

โœ… 4. Query data using created views
SELECT FROM high_salary_emp;

SELECT FROM it_employees;

SELECT FROM dept_avg_salary;

โœ… 5. Drop a view
DROP VIEW high_salary_emp;

โšก Mini Challenge ๐Ÿ”ฅ

๐Ÿ‘‰ Create a view to show top 3 highest salary employees

โšก Mini Challenge Solution

CREATE VIEW top_3_salary AS
SELECT
FROM employees
ORDER BY salary DESC
LIMIT 3;

๐Ÿ‘‰ Use the view:

SELECT FROM top_3_salary;

๐Ÿ”ฅ Pro Tip:
Views are heavily used in:
๐Ÿ‘‰ Dashboards
๐Ÿ‘‰ Reporting systems
๐Ÿ‘‰ Data analytics projects

Because they simplify complex SQL ๐Ÿ’ฏ

๐Ÿ‘‰ Table โ†’ stores data
๐Ÿ‘‰ View โ†’ stores query

Double Tap โค๏ธ For More
โค16
Does a VIEW store actual data?
Anonymous Quiz
24%
A. Yes
56%
B. No
6%
C. Sometimes
14%
D. Only in MySQL
Which command is used to create a VIEW?
Anonymous Quiz
6%
A. MAKE VIEW
86%
B. CREATE VIEW
4%
C. NEW VIEW
4%
D. ADD VIEW
โค4
Now, letโ€™s move to the next topic:

Indexes ๐Ÿš€

๐Ÿง  1. What is an INDEX?

An INDEX is used to make data retrieval faster

๐Ÿ‘‰ Think like a book ๐Ÿ“š
- Without index โ†’ scan every page
- With index โ†’ jump directly to topic

Same happens in databases ๐Ÿ’ฏ

โšก 2. Why Use Indexes?

โœ” Faster SELECT queries
โœ” Faster searching
โœ” Better performance on large tables

โŒ But:
- Uses extra storage
- INSERT/UPDATE become slightly slower

๐Ÿ“Š Visual Understanding

โšก 3. Create an INDEX
CREATE INDEX idx_salary
ON employees(salary);
๐Ÿ‘‰ Creates index on salary column

๐Ÿ” 4. Query Using Indexed Column
SELECT FROM employees
WHERE salary > 50000;
โœ” Faster because of index

โŒ 5. Drop an INDEX
DROP INDEX idx_salary ON employees;

๐Ÿ”ฅ 6. Primary Key Automatically Creates Index
CREATE TABLE employees (
emp_id INT PRIMARY KEY,
name VARCHAR(50)
);

โœ” PRIMARY KEY โ†’ automatically indexed

โšก 7. Types of Indexes

- Primary Index: Created on primary key
- Unique Index: Prevent duplicate values
- Composite Index: Index on multiple columns

๐ŸŽฏ 8. Composite Index Example
CREATE INDEX idx_dept_salary
ON employees(department, salary);

โœ” Useful when filtering both columns together

๐ŸŽฏ 9. Practice Tasks
1. Create index on employee name
2. Create index on department column
3. Create composite index on department + salary
4. Query employees using indexed column
5. Drop created index

โšก Mini Challenge ๐Ÿ”ฅ

๐Ÿ‘‰ Create a unique index on email column

๐Ÿ”ฅ Indexes improve READ speed but may slow down INSERT / UPDATE

Double Tap โค๏ธ For More
โค17๐Ÿ‘4
๐Ÿš€ Top 100 Data Analyst Interview Questions

๐Ÿง  Data Analyst Role Basics

1. What does a data analyst do in a company?
2. What is the difference between a data analyst, data scientist, and BI analyst?
3. What is the typical workflow of a data analyst (from requirement to insight)?
4. What are the main goals of data analysis (descriptive, diagnostic, predictive, prescriptive)?
5. What is KPI and why is it important?
6. What is the difference between metrics and KPIs?
7. What is a dashboard vs a report?
8. What is exploratory data analysis (EDA)?
9. What is the difference between raw data and processed data?
10. How do you prioritize which analysis to work on first?

๐Ÿ“Š SQL Databases

11. What is SQL and why is it critical for data analysts?
12. How do SELECT, WHERE, ORDER BY, LIMIT work?
13. How do you join two tables (INNER, LEFT, RIGHT, FULL joins)?
14. How do GROUP BY and aggregate functions (SUM, AVG, COUNT, MAX, MIN) work?
15. How do you write subqueries and CTEs?
16. How do you calculate running totals or rolling averages with window functions?
17. How do you clean and filter data directly in SQL?
18. How do you handle duplicates and NULL values in SQL?
19. How do you optimize a slow query?
20. How do you design a simple schema for a business domain (e.g., orders, users)?

๐Ÿงฎ Excel Spreadsheets

21. How do you use Excel for quick data cleaning and analysis?
22. How do you use SUMIF, COUNTIF, VLOOKUP / XLOOKUP in Excel?
23. How do you remove duplicates and standardize text in Excel?
24. How do you use PivotTables for summarizing data?
25. How do you build simple dashboards in Excel (charts + slicers)?
26. How do you use conditional formatting for insights?
27. How do you export data to CSV or share formatted reports?
28. How do you handle large datasets in Excel vs a database?
29. How do you avoid common Excel pitfalls (e.g., hardโ€‘coded numbers, no labels)?
30. How do you document your Excel analyses?

๐Ÿ“ˆ Data Visualization BI Tools

31. What is the purpose of data visualization?
32. When do you use bar charts, line charts, pie charts, histograms?
33. What are best practices for labeling, colors, and readability?
34. How do you design a dashboard for a nonโ€‘technical stakeholder?
35. What is the difference between a report and a selfโ€‘service dashboard?
36. How do you use Power BI / Tableau / Looker / Google Data Studio for dashboards?
37. How do you filter and slice data in a BI tool?
38. How do you handle measures and dimensions in BI tools?
39. How do you share dashboards and control access?
40. How do you tell a โ€œdata storyโ€ using charts and annotations?

๐Ÿ“Š Descriptive Statistics EDA

41. What are mean, median, and mode?
42. What is standard deviation and variance?
43. What are quartiles and IQR?
44. How do you detect outliers and what should you do with them?
45. What is a distribution and how do you inspect it (histograms, boxplots)?
46. What is skewness and kurtosis?
47. How do you calculate growth rate, percentage change, CAGR?
48. How do you compute cohortโ€‘style metrics (e.g., retention by signup month)?
49. How do you summarize categorical vs numerical data?
50. How do you structure an EDA notebook or report?

๐Ÿ› ๏ธ Python (or R) for Data Analysis

51. Why do data analysts use Python instead of (or along with) Excel?
52. How do you load data from CSV or SQL into a pandas DataFrame?
53. How do you inspect the first/last rows, shape, data types, and missing values?
54. How do you clean missing values (dropna, fillna, interpolation)?
55. How do you filter, sort, and group data with pandas?
56. How do you calculate aggregates and pivots with groupby and pivot_table?
โค12
60. How do you compute month-on-month or week-on-week growth?
61. How do you write a query to calculate retention / churn?
62. How do you calculate LTV (lifetime value) conceptually?
63. How do you write a funnel analysis query (e.g., sign-up โ†’ activation โ†’ purchase)?
64. How do you handle time-based aggregations (daily, weekly, monthly)?
65. How do you compare cohorts (e.g., users by month of acquisition)?
66. How do you calculate lead-time, cycle-time, or other business-process metrics?
67. How do you implement A/B test-style analysis in SQL?
68. How do you approximate segmentation (RFM-style) in SQL?
69. How do you document and version your SQL queries?

๐Ÿง  Behavioral Business-Sense Questions

70. Walk me through a real-world analysis you did end-to-end.
71. Tell me about a time you presented insights to a non-technical audience.
72. Tell me about a time your analysis changed a decision or strategy.
73. Tell me about a time you found a data quality issue and how you fixed it.
74. How do you translate a vague business question into a concrete analysis?
75. How do you handle conflicting priorities from stakeholders?
76. How do you collaborate with product, marketing, and engineering teams?
77. How do you validate your analysis before sharing it?
78. How do you explain statistical or technical concepts in simple language?
79. How do you stay updated with data-analysis trends and tools?

๐Ÿ“Š Real-World Case-Study / Scenario-Style Questions

80. Design an analysis to track product usage or feature adoption.
81. Design an analysis to evaluate marketing campaign performance.
82. Design a churn / retention dashboard for a SaaS product.
83. Design a sales-performance report for a regional team.
84. Design a customer-segmentation analysis (e.g., high-value vs low-value).
85. How would you analyze a sudden drop in website traffic or orders?
86. How would you analyze a pricing change or discount test?
87. How would you analyze customer support ticket volume and trends?
88. How would you design a simple A/B test and its success metrics?
89. How would you explain results and next steps to a manager?

๐Ÿง  Tooling, Processes Best Practices

90. What tools do you use most often as a data analyst?
91. How do you version your code and SQL (e.g., Git, folder structure)?
92. How do you document queries, dashboards, and assumptions?
93. How do you handle data privacy and PII in your analyses?
94. How do you manage permissions and access to dashboards?
95. How do you automate repetitive reports (scheduled exports, SQL jobs, etc.)?
96. How do you handle ad-hoc vs recurring analyses?
97. How do you get feedback on your dashboards and improve them?
98. What are your top 5 productivity shortcuts / habits as a data analyst?
99. What skills do you want to improve most in the next 6โ€“12 months?

๐Ÿš€ Double Tap โ™ฅ๏ธ For Detailed Answers
โค18
Which command is used to create an index?
Anonymous Quiz
11%
A. ADD INDEX
84%
B. CREATE INDEX
3%
C. MAKE INDEX
3%
D. NEW INDEX
Which operation becomes faster with indexes?
Anonymous Quiz
62%
A. SELECT
21%
B. INSERT
13%
C. UPDATE
3%
D. DELETE
โค4
๐Ÿš€ Data Analyst Interview Questions with Answers โ€” Part 1

๐Ÿง  Data Analyst Role & Basics

1. What does a data analyst do in a company?

A data analyst collects, cleans, analyzes, and interprets data to help businesses make better decisions. They create reports, dashboards, and insights that improve performance, reduce costs, and identify opportunities.

2. What is the difference between a data analyst, data scientist, and BI analyst?

โœ… Data Analyst โ†’ Focuses on analyzing historical data, creating reports, dashboards, and business insights.

โœ… Data Scientist โ†’ Works on advanced analytics, machine learning, predictive modeling, and AI solutions.

โœ… BI Analyst โ†’ Primarily focuses on business intelligence tools like Power BI/Tableau to build dashboards and monitor KPIs.

3. What is the typical workflow of a data analyst?

A common workflow is:

1๏ธโƒฃ Understand business requirements
2๏ธโƒฃ Collect data from databases/files/APIs
3๏ธโƒฃ Clean and preprocess data
4๏ธโƒฃ Analyze data using SQL/Excel/Python
5๏ธโƒฃ Create dashboards or visualizations
6๏ธโƒฃ Present insights to stakeholders
7๏ธโƒฃ Monitor results and improve analysis

4. What are the main goals of data analysis?

๐Ÿ“Š Descriptive Analysis โ†’ What happened?
๐Ÿ“ˆ Diagnostic Analysis โ†’ Why did it happen?
๐Ÿ”ฎ Predictive Analysis โ†’ What may happen next?
๐ŸŽฏ Prescriptive Analysis โ†’ What action should be taken?

5. What is KPI and why is it important?

KPI (Key Performance Indicator) is a measurable metric used to track business performance.

Examples:
โœ”๏ธ Revenue Growth
โœ”๏ธ Customer Retention
โœ”๏ธ Conversion Rate
โœ”๏ธ Website Traffic

KPIs help companies measure progress toward goals and make data-driven decisions.

6. What is the difference between metrics and KPIs?

๐Ÿ“Œ Metrics = Any measurable value
Example: Number of website visitors

๐Ÿ“Œ KPIs = Critical metrics tied to business goals
Example: Monthly customer conversion rate

๐Ÿ‘‰ All KPIs are metrics, but not all metrics are KPIs.

7. What is a dashboard vs a report?

๐Ÿ“Š Dashboard
โ€ข Interactive
โ€ข Real-time or frequently updated
โ€ข High-level overview of KPIs

๐Ÿ“„ Report
โ€ข Detailed and static
โ€ข Often shared weekly/monthly
โ€ข Used for deep analysis

8. What is exploratory data analysis (EDA)?

EDA is the process of exploring and understanding data before detailed analysis or modeling.

It includes:
โœ”๏ธ Finding missing values
โœ”๏ธ Detecting outliers
โœ”๏ธ Understanding distributions
โœ”๏ธ Identifying trends and patterns

Tools commonly used: SQL, Excel, Python, Power BI.

9. What is the difference between raw data and processed data?

๐Ÿ“Œ Raw Data โ†’ Original uncleaned data directly from sources.
Example: Duplicate rows, missing values, inconsistent formats.

๐Ÿ“Œ Processed Data โ†’ Cleaned and transformed data ready for analysis.

10. How do you prioritize which analysis to work on first?

A data analyst usually prioritizes tasks based on:

โœ… Business impact
โœ… Urgency
โœ… Stakeholder requirements
โœ… Revenue/customer impact
โœ… Time and resource availability

High-impact and time-sensitive analyses are handled first.

๐Ÿš€ Double Tap โค๏ธ For More
โค15
๐Ÿš€ Data Analyst Interview Questions with Answers โ€” Part 2

๐Ÿ“Š SQL & Databases

11. What is SQL and why is it critical for data analysts?
SQL (Structured Query Language) is used to communicate with databases. It helps analysts retrieve, filter, clean, and analyze data efficiently.

It is critical because most business data is stored in databases, and SQL allows analysts to extract insights directly from large datasets.

12. How do "SELECT", "WHERE", "ORDER BY", and "LIMIT" work?
โœ… "SELECT" โ†’ Used to choose columns from a table

SELECT name, salary FROM employees;

โœ… "WHERE" โ†’ Filters rows based on conditions

SELECT FROM employees
WHERE salary > 50000;

โœ… "ORDER BY" โ†’ Sorts data ascending or descending

SELECT FROM employees
ORDER BY salary DESC;

โœ… "LIMIT" โ†’ Restricts the number of rows returned

SELECT FROM employees
LIMIT 5;

13. How do you join two tables ("INNER", "LEFT", "RIGHT", "FULL" joins)?

๐Ÿ“Œ "INNER JOIN" โ†’ Returns matching records from both tables

๐Ÿ“Œ "LEFT JOIN" โ†’ Returns all records from the left table + matching rows from the right table

๐Ÿ“Œ "RIGHT JOIN" โ†’ Returns all records from the right table + matching rows from the left table

๐Ÿ“Œ "FULL JOIN" โ†’ Returns all matching and non-matching records from both tables

Example:
SELECT customers.name, orders.order_id
FROM customers
INNER JOIN orders
ON customers.id = orders.customer_id;

14. How do "GROUP BY" and aggregate functions work?

Aggregate functions summarize data.

Common functions:
โœ”๏ธ "SUM()"
โœ”๏ธ "AVG()"
โœ”๏ธ "COUNT()"
โœ”๏ธ "MAX()"
โœ”๏ธ "MIN()"

Example:
SELECT department, AVG(salary)
FROM employees
GROUP BY department;

This groups employees by department and calculates average salary.

15. How do you write subqueries and CTEs?
๐Ÿ“Œ Subquery โ†’ Query inside another query

SELECT name
FROM employees
WHERE salary > (
SELECT AVG(salary)
FROM employees
);

๐Ÿ“Œ CTE (Common Table Expression) โ†’ Temporary result set that improves readability

WITH high_salary AS (
SELECT
FROM employees
WHERE salary > 50000
)
SELECT FROM high_salary;

16. How do you calculate running totals or rolling averages with window functions?

Window functions perform calculations across rows without collapsing data.

Example โ€” Running Total:
SELECT order_date,
sales,
SUM(sales) OVER (ORDER BY order_date) AS running_total
FROM orders;
Example โ€” Rolling Average:
SELECT order_date,
AVG(sales) OVER (
ORDER BY order_date
ROWS BETWEEN 2 PRECEDING AND CURRENT ROW
) AS rolling_avg
FROM orders;

17. How do you clean and filter data directly in SQL?

Data cleaning in SQL includes:
โœ”๏ธ Removing duplicates
โœ”๏ธ Handling NULL values
โœ”๏ธ Standardizing text
โœ”๏ธ Filtering invalid rows

Example:
SELECT TRIM(LOWER(name))
FROM customers
WHERE email IS NOT NULL;

18. How do you handle duplicates and NULL values in SQL?

โœ… Remove duplicates using "DISTINCT"
SELECT DISTINCT city
FROM customers;

โœ… Find NULL values
SELECT
FROM employees
WHERE salary IS NULL;

โœ… Replace NULL values
SELECT COALESCE(salary, 0)
FROM employees;

19. How do you optimize a slow query?
Common optimization techniques:

๐Ÿš€ Use indexes
๐Ÿš€ Avoid unnecessary columns in "SELECT *"
๐Ÿš€ Filter data early using "WHERE"
๐Ÿš€ Optimize joins
๐Ÿš€ Use proper aggregations
๐Ÿš€ Analyze execution plans

Efficient queries improve performance and reduce database load.

20. How do you design a simple schema for a business domain?

A schema organizes data into related tables.

Example for an e-commerce business:
๐Ÿ“Œ "Customers" table
๐Ÿ“Œ "Orders" table
๐Ÿ“Œ "Products" table
๐Ÿ“Œ "Payments" table

Relationships are created using primary keys and foreign keys to maintain data integrity.

๐Ÿš€ Double Tap โค๏ธ For Part-3
โค22
๐Ÿš€ Data Analyst Interview Questions with Answers โ€” Part 3

๐Ÿงฎ Excel & Spreadsheets

21. How do you use Excel for quick data cleaning and analysis?
Excel is widely used for fast data cleaning and exploration.

Common tasks include:
- Removing duplicates
- Filtering and sorting data
- Using formulas
- Creating PivotTables
- Applying conditional formatting
- Cleaning text using functions like TRIM, UPPER, LOWER

It is useful for quick business analysis without writing code.

22. How do you use "SUMIF", "COUNTIF", "VLOOKUP", and "XLOOKUP" in Excel?

โœ… SUMIF โ†’ Adds values based on a condition
=SUMIF(A:A,"Sales",B:B)

โœ… COUNTIF โ†’ Counts cells matching a condition
=COUNTIF(C:C,">500")

โœ… VLOOKUP โ†’ Searches vertically for a value
=VLOOKUP(101,A:D,2,FALSE)

โœ… XLOOKUP โ†’ Modern replacement for VLOOKUP with more flexibility
=XLOOKUP(101,A:A,B:B)

23. How do you remove duplicates and standardize text in Excel?

๐Ÿ“Œ Remove duplicates using: Data โ†’ Remove Duplicates

๐Ÿ“Œ Standardize text using functions:
=TRIM(A2)
=UPPER(A2)
=LOWER(A2)
=PROPER(A2)

These functions help clean inconsistent formatting.

24. How do you use PivotTables for summarizing data?
PivotTables quickly summarize large datasets without formulas.

They help with:
- Total sales by region
- Average revenue by product
- Monthly trends
- Category-wise counts

Steps:
1. Select dataset
2. Insert โ†’ PivotTable
3. Drag fields into Rows, Columns, and Values

25. How do you build simple dashboards in Excel?
A basic Excel dashboard usually contains:
- Charts
- KPIs
- PivotTables
- Slicers
- Conditional formatting

Dashboards help stakeholders track important business metrics visually.

26. How do you use conditional formatting for insights?
Conditional formatting highlights patterns automatically.

Examples:
- Highlight top performers
- Show duplicate values
- Identify low sales
- Use color scales for trends

Example:
Home โ†’ Conditional Formatting โ†’ Highlight Cell Rules

27. How do you export data to CSV or share formatted reports?

โœ… Save files as .csv for database imports or system sharing
File โ†’ Save As โ†’ CSV

โœ… Share formatted reports using:
- Excel files
- PDFs
- Shared OneDrive/Google Drive links

Always ensure formatting and labels are clear before sharing.

28. How do you handle large datasets in Excel vs a database?

๐Ÿ“Œ Excel is good for: smaller datasets and quick analysis.

๐Ÿ“Œ Databases are better for:
- Millions of rows
- Faster querying
- Multi-user access
- Better performance and security

Analysts often use SQL databases for large-scale analysis.

29. How do you avoid common Excel pitfalls?

Common best practices:
- Avoid hard-coded numbers in formulas
- Avoid merged cells
- Donโ€™t leave blank headers
- Avoid inconsistent formatting

Do instead:
- Use proper labels
- Keep raw data separate from analysis
- Document formulas clearly

30. How do you document your Excel analyses?

Good documentation includes:
- Sheet descriptions
- Formula explanations
- Data-source details
- Assumptions used
- KPI definitions
- Date/version tracking

Proper documentation improves collaboration and reduces confusion.

๐Ÿš€ Double Tap โค๏ธ For Part-4
โค14๐Ÿ‘2
๐Ÿš€ Data Analyst Interview Questions with Answers โ€” Part 4

๐Ÿ“ˆ Data Visualization & BI Tools

31. What is the purpose of data visualization?
Data visualization helps transform raw data into charts and visuals that are easier to understand.

It helps businesses:
โœ”๏ธ Identify trends
โœ”๏ธ Detect patterns
โœ”๏ธ Compare performance
โœ”๏ธ Make faster decisions
โœ”๏ธ Communicate insights clearly

Good visualizations simplify complex data.

32. When do you use bar charts, line charts, pie charts, and histograms?
๐Ÿ“Š Bar Chart โ†’ Compare categories
Example: Sales by region

๐Ÿ“ˆ Line Chart โ†’ Show trends over time
Example: Monthly revenue growth

๐Ÿฅง Pie Chart โ†’ Show proportions or percentages
Example: Market share distribution

๐Ÿ“‰ Histogram โ†’ Show data distribution
Example: Customer age distribution

Choosing the correct chart improves readability and insight quality.

33. What are best practices for labeling, colors, and readability?
โœ… Use clear titles and labels
โœ… Keep charts simple and uncluttered
โœ… Use consistent colors
โœ… Highlight important insights
โœ… Avoid excessive colors or 3D effects
โœ… Ensure fonts are readable
โœ… Add legends only when necessary

The goal is to make insights easy to understand quickly.

34. How do you design a dashboard for a non-technical stakeholder?
A stakeholder-friendly dashboard should:

โœ”๏ธ Focus on business KPIs
โœ”๏ธ Use simple language
โœ”๏ธ Avoid technical jargon
โœ”๏ธ Include filters and slicers
โœ”๏ธ Show summary insights first
โœ”๏ธ Use intuitive charts and layouts

Dashboards should answer business questions immediately.

35. What is the difference between a report and a self-service dashboard?
๐Ÿ“„ Report
โ€ข Static and detailed
โ€ข Usually scheduled weekly/monthly
โ€ข Used for deep analysis

๐Ÿ“Š Self-Service Dashboard
โ€ข Interactive
โ€ข Users can filter and explore data themselves
โ€ข Real-time or frequently updated

Self-service dashboards improve decision-making speed.

36. How do you use Power BI, Tableau, Looker, or Google Data Studio for dashboards?
These BI tools help analysts:

โœ”๏ธ Connect multiple data sources
โœ”๏ธ Build interactive dashboards
โœ”๏ธ Create KPIs and measures
โœ”๏ธ Apply filters and drill-downs
โœ”๏ธ Share reports with teams

Popular tools include:
๐Ÿ“Œ Microsoft Power BI
๐Ÿ“Œ Tableau
๐Ÿ“Œ Looker
๐Ÿ“Œ Google Data Studio

37. How do you filter and slice data in a BI tool?
Filters and slicers allow users to interact with dashboards dynamically.

Examples:
โœ”๏ธ Filter by date range
โœ”๏ธ Select region or product category
โœ”๏ธ Drill down into specific KPIs

This helps users analyze data without modifying the original report.

38. How do you handle measures and dimensions in BI tools?
๐Ÿ“Œ Dimensions โ†’ Qualitative fields used for categorization
Examples: Product, Region, Customer Name

๐Ÿ“Œ Measures โ†’ Numerical fields used for calculations
Examples: Revenue, Profit, Quantity Sold

Dimensions segment the data, while measures calculate insights.

39. How do you share dashboards and control access?
Dashboards are usually shared through:

โœ”๏ธ Cloud workspaces
โœ”๏ธ Scheduled email reports
โœ”๏ธ Embedded links
โœ”๏ธ Organization portals

Access control is managed using:
๐Ÿ”’ User permissions
๐Ÿ”’ Row-level security
๐Ÿ”’ Workspace roles

This ensures sensitive data is protected.

40. How do you tell a โ€œdata storyโ€ using charts and annotations?
Data storytelling combines visuals with business context.

A good data story should:
๐Ÿ“Œ Start with the business problem
๐Ÿ“Œ Present key findings clearly
๐Ÿ“Œ Use charts to support insights
๐Ÿ“Œ Add annotations for important trends
๐Ÿ“Œ End with recommendations or actions

The goal is not just showing numbers, but explaining what they mean for the business.

๐Ÿš€ Double Tap โค๏ธ For Part-5
โค13
๐Ÿš€ Data Analyst Interview Questions with Answers โ€” Part 5

๐Ÿ“Š Descriptive Statistics & EDA

41. What are mean, median, and mode?
๐Ÿ“Œ Mean โ†’ Average value of data
Mean = Sum of all values / Number of values

๐Ÿ“Œ Median โ†’ Middle value when data is sorted

๐Ÿ“Œ Mode โ†’ Most frequently occurring value

These measures help summarize data quickly.

42. What is standard deviation and variance?
๐Ÿ“Œ Variance measures how far data points spread from the mean.

๐Ÿ“Œ Standard Deviation is the square root of variance and shows data variability in the same unit as the data.

Low standard deviation โ†’ data points are close to the mean.
High standard deviation โ†’ data points are more spread out.

43. What are quartiles and IQR?
๐Ÿ“Œ Quartiles divide data into four equal parts.
โ€ข Q1 โ†’ 25th percentile
โ€ข Q2 โ†’ Median (50th percentile)
โ€ข Q3 โ†’ 75th percentile

๐Ÿ“Œ IQR (Interquartile Range) measures the spread of the middle 50% of data.
IQR = Q3 - Q1

IQR is commonly used to detect outliers.

44. How do you detect outliers and what should you do with them?
Outliers are unusual data points that differ significantly from other observations.

Common detection methods:
โœ”๏ธ Boxplots
โœ”๏ธ Z-score
โœ”๏ธ IQR method

Possible actions:
๐Ÿ“Œ Remove incorrect data
๐Ÿ“Œ Investigate business reasons
๐Ÿ“Œ Transform data if needed
๐Ÿ“Œ Keep them if they are valid business cases

45. What is a distribution and how do you inspect it?
A distribution shows how data values are spread.

Common ways to inspect distributions:
๐Ÿ“Š Histograms
๐Ÿ“Š Boxplots
๐Ÿ“Š Density plots

These help analysts understand patterns, skewness, and variability.

46. What is skewness and kurtosis?
๐Ÿ“Œ Skewness measures asymmetry in data distribution.
โ€ข Positive skew โ†’ Tail on the right
โ€ข Negative skew โ†’ Tail on the left

๐Ÿ“Œ Kurtosis measures how heavy or light the tails of a distribution are compared to normal distribution.

These metrics help understand data behavior.

47. How do you calculate growth rate, percentage change, and CAGR?
๐Ÿ“Œ Percentage Change Formula:
Percentage Change = (New Value - Old Value) / Old Value * 100

๐Ÿ“Œ CAGR (Compound Annual Growth Rate):
CAGR = (Ending Value / Beginning Value)^(1/n) - 1
Where n = number of years

These metrics are widely used in finance and business performance tracking.

48. How do you compute cohort-style metrics?
Cohort analysis groups users based on a shared characteristic such as signup month.

Example:
๐Ÿ“Œ Retention rate by signup month
๐Ÿ“Œ Revenue by customer acquisition month

It helps businesses analyze user behavior over time.

49. How do you summarize categorical vs numerical data?
๐Ÿ“Œ Categorical Data โ†’ Summarized using counts, percentages, and frequency tables.
Examples:
โœ”๏ธ Gender
โœ”๏ธ Country
โœ”๏ธ Product Category

๐Ÿ“Œ Numerical Data โ†’ Summarized using statistical measures.
Examples:
โœ”๏ธ Mean
โœ”๏ธ Median
โœ”๏ธ Standard deviation
โœ”๏ธ Minimum and maximum values

50. How do you structure an EDA notebook or report?
A good EDA structure usually includes:

1๏ธโƒฃ Business problem statement
2๏ธโƒฃ Data overview
3๏ธโƒฃ Data cleaning steps
4๏ธโƒฃ Missing-value analysis
5๏ธโƒฃ Outlier detection
6๏ธโƒฃ Univariate and bivariate analysis
7๏ธโƒฃ Visualizations
8๏ธโƒฃ Key insights and recommendations

Well-structured EDA improves clarity and collaboration.

๐Ÿš€ Double Tap โค๏ธ For Part-6
โค19๐Ÿ‘2๐Ÿ‘Œ1