⚡0 XP🔥0

Module Project: Power BI Dashboards (Sales + HR Attrition)

Lesson 6 of 6 ⏱ 4 min read ❓ 3-question quiz

Build a complete Vindhya Mart sales dashboard with a star schema, DAX and time intelligence, then an HR attrition dashboard on the Kaggle IBM HR dataset, and publish both for your portfolio.

Part A - Vindhya Mart Sales Dashboard#

Deliverable

A 3-page Power BI report (vindhya_mart_sales.pbix):

  1. Overview - KPIs, trend vs last year, region vs target, category profit
  2. Products - product ranking, discount impact, drill-through to a product detail page
  3. Product detail (drill-through) - monthly trend and orders for one product

Data#

Files

Steps#

  1. Load the three CSVs. In Power Query: set types; in Sales keep only needed columns.
  2. Dimensions: create Region dimension (Region list from Sales → Remove duplicates, or DISTINCT(Sales[region]) table) and the DAX Date table (2024-2025), marked as a date table.
  3. Relationships: Products[product] → Sales[product]; Region[region] → Sales[region]; Region[region] → Targets[region]; Date[Date] → Sales[order_date].
  4. Measures: Total Sales, Total Profit, Margin %, Orders, AOV, Sales LY, Sales YoY %, Sales YTD, Target (SUM(Targets[annual_target])), Achievement % (DIVIDE([Total Sales], [Target]) - show with Year = 2025).
  5. Overview page: 5 cards (Sales, Profit, Margin %, Orders, YoY %), line chart (Total Sales and Sales LY by Month), clustered column (Sales vs Target by Region, Year=2025), bar (Profit by Category), slicers (Year, Region, Category - synced across pages).
  6. Products page: table (Product, Sales, Profit, Margin % with conditional formatting, Rank), column chart (Profit by Discount), scatter (Sales vs Margin % per product).
  7. Product detail page: drill-through on product; line chart by month; card with product's margin; table of its orders.
  8. Polish: theme, insight titles, last-refresh text, mobile layout.
Check your numbers
  • All years: Sales 1.11 Cr (11.07M), Profit 15.0 L, Margin 13.57%, Orders 1,500, AOV ₹7,378.
  • Year = 2025: Sales 53.9 L, YoY -5.0%; region achievement East 110.4%, North 102.1%, West 97.8%, Central 95.4%, South 90.2%.
  • Profit by discount: the 30% bar is negative (≈ -₹46,248).
  • Top product by profit: Green Soul Ergonomic Chair (≈ ₹2.32 L).

Part B - HR Attrition Dashboard (Kaggle)#

Kaggle - IBM HR Analytics Employee Attrition & Performance

Link: kaggle.com/datasets/pavansubhasht/ibm-hr-analytics-attrition-dataset

A fictional dataset created by IBM data scientists: about 1,470 employees with Age, Attrition (Yes/No), Department, JobRole, MonthlyIncome, OverTime, YearsAtCompany, JobSatisfaction, WorkLifeBalance, Education and more. File: WA_Fn-UseC_-HR-Employee-Attrition.csv.

HR dashboard - tasks
  1. Load and clean: check types; create Age Band (18-25, 26-35, 36-45, 46+), Income Band and Tenure Band as calculated columns or in Power Query; map Education 1-5 and satisfaction 1-4 codes to labels (1 = Low ... 4 = Very High).
  2. Measures: text Employees = COUNTROWS ( HR ) Leavers = CALCULATE ( [Employees], HR[Attrition] = "Yes" ) Attrition Rate % = DIVIDE ( [Leavers], [Employees] ) Avg Income = AVERAGE ( HR[MonthlyIncome] ) Avg Tenure = AVERAGE ( HR[YearsAtCompany] )
  3. Page 1 - Overview: cards (Employees, Leavers, Attrition Rate %, Avg Income); attrition rate by Department, Job Role, Age Band, Overtime; slicers for Department, Gender, Education field.
  4. Page 2 - Drivers: attrition rate by Job Satisfaction, Work-Life Balance, Income Band, Tenure Band, Distance from home; try the Key influencers visual on Attrition.
  5. Insights: write 5 findings (e.g. "Employees doing overtime leave at X× the rate of others") and 3 HR recommendations.
Tip

Attrition rate, not attrition count, is the right comparison across groups - a large department will always have more leavers.

Part C - Publish and present#

  1. Publish both reports to your workspace (or export to PDF if you don't have a work account).
  2. Take clean screenshots for your portfolio.
  3. Prepare a 3-minute walkthrough: the question, the 3 most important insights, the recommendation - and how the dashboard lets managers explore further.
Extra practice

Rebuild Part A with the Kaggle Superstore dataset (link) - model Orders as the fact with Customer, Product, Geography and Date dimensions (split the flat file into dimensions in Power Query using Reference + Remove other columns + Remove duplicates).

Summary#

  • You've built a full star-schema report with time intelligence, targets and drill-through.
  • You've analysed real HR data with rate-based measures and drivers.
  • Published dashboards + a short story = strong portfolio pieces.

Quick Quiz

Q1.

Which measure best tracks attrition?

Q2.

What should you include when you present a dashboard?

Q3.

In the IBM HR data, Attrition is "Yes"/"No". How do you count leavers in DAX?