Ravindra BagaleCourses & study guides Track your progress

Excel → Power BI Bridge

Bridge 10. Full migration mini-project

Friends,

Friends, final bridge lab: two packs, one model, five measures, one page. Calm steps. Currency rules on About. Ship a checklist, not chaos.

About this data: Practice names (Priya, Amit, Emma, Omar, Sofia, Ananya, Chen Wei, Neha), cities and ₹ $ £ € amounts are fictional. Safe for class. Workbook includes an About this data sheet.

At deploy, files go to s3://ravindrabagale-cards/excel/bridge/ .

What you will learn

  • Clean two facts in Power Query.
  • Build City + Date dimensions and relationships.
  • Author five starter measures.
  • Ship one report page against a checklist.

A short story

Retail orders (Priya/Emma/…) and bank fees (Amit/Omar) must share City and Date dimensions. Clean in PQ, relate, measure, then one page: title, slicers, matrix, card, line.

Ravindra Bagale’s Tip

Finish the checklist before decorating. Working refresh + honest currency beats neon themes.

1. Two packs, one truth

Friends,

Same City name spelling across packs — fix in PQ.

Why: Retail + Bank_Fees share cities and dates.

What: Do not keep two emailed Mondays.

How:

  1. Open Retail and Bank_Fees sheets.
  2. Note currencies.
  3. Plan City and Date dims.
  4. Write the currency rule on About.
ExcelPower BI / DAXResultMeaning
Excel
Two workbooks emailed
Bridge project
One model
Unified Priya retail + Amit fees in one workspace story.

2. Clean in Power Query

Friends,

Two facts can share dimensions — that is normal.

Why: Trim, types, maybe append if shapes match — here keep two facts.

What: Two facts OK in a star.

How:

  1. Trim City.
  2. Type Amount Decimal, Date Date.
  3. Keep Currency as Text.
  4. Load both facts + dims.
ExcelPower BI / DAXResultMeaning
Messy sheets
Ad hoc fixes
PQ
Applied Steps
Clean Emma’s Manchester city spelling normalised.

3. Build dimensions

Friends,

Shared dimensions are how packs become one story.

Why: City from distinct cities; Date calendar.

What: Dim_City, Dim_Date.

How:

  1. Build Dim_City (City, Region).
  2. Build or load Dim_Date.
  3. Relate both facts to both dims (as keys allow).
  4. Hide keys.
ExcelPower BI / DAXResultMeaning
VLOOKUP sprawl
Repeated cities
Model
Shared dims
Star Omar and Priya both filter Pune/Dubai via Dim_City.

4. Five measures

Friends,

Separate measures per fact beat one confused mega-SUM across currencies.

Why: Starter kit for the page.

What: Total, Count, Average, Filtered, DIVIDE.

How:

  1. Total Amount := SUM(... ) — careful per fact or separate measures.
  2. Retail Orders := COUNTROWS(Retail).
  3. Avg Retail := DIVIDE([Total Retail],[Retail Orders]).
  4. Pune Retail := CALCULATE(... City="Pune").
  5. Fee Total := SUM(Bank_Fees[FeeAmount]) with currency filter discipline.
ExcelPower BI / DAXResultMeaning
Excel
Many SUMIFs
DAX
Five measures
Kit Neha reuses measures on Card + Matrix.

5. One report page

Friends,

If the page needs a novel of footnotes, simplify measures first.

Why: Title, 2 slicers, matrix, card, line.

What: Checklist driven.

How:

  1. Title: Retail & Fees — currency aware.
  2. Slicers: Currency, City.
  3. Matrix: City × (Retail total / Fees) carefully.
  4. Card: Total Retail (filtered).
  5. Line: Retail by Date.
ExcelPower BI / DAXResultMeaning
Excel dashboard
Many sheets
Power BI
One page
Shipped Ananya demos without scrolling chaos.

6. Currency rule on the wall

Friends,

A subtitle that names the currency saves reputations.

Why: Write it where students see it.

What: About + page subtitle.

How:

  1. Never sum INR+GBP+AED in one Card.
  2. Default slicer to one currency in demos.
  3. Optional FX table later — out of scope here.
  4. Fail the review if mixed sum appears.
ExcelPower BI / DAXResultMeaning
Silent mix
Lie chart
Bridge
Explicit rule
Honest Chen Wei’s subtitle states “INR selected”.

7. Validate against Excel

Friends,

If Excel and Card disagree, believe neither until you find the filter.

Why: Spot-check three numbers.

What: SUMIF in Excel vs Card.

How:

  1. SUMIF Retail Pune INR vs Card.
  2. Count Manchester retail rows.
  3. Fee total Dubai AED.
  4. Document match in Project_Plan.
ExcelPower BI / DAXResultMeaning
Excel check
SUMIF/COUNTIF
PBI Card
Same filter
Match Sofia ticks validation rows.

8. Handoff notes

Friends,

A finished checklist is the real deliverable.

Why: Owner, refresh, audience.

What: Project_Plan last rows.

How:

  1. Name refresh owner.
  2. Cadence.
  3. Who may edit vs view.
  4. Link to workspace (at deploy).
  5. Celebrate a calm ship.
ExcelPower BI / DAXResultMeaning
Hero paste
Undocumented
Bridge
Handoff notes
Sustainable Amit can go on leave without panic.

Practice tasks (12)

Use bridge-migrate-practice.xlsx. LibreOffice-safe: prefer SUMIF / VLOOKUP / IF — avoid XLOOKUP, TEXTJOIN, TEXTSPLIT.

  1. Read About + Project_Plan.
    Hint

    Scope.

  2. SUM Retail Amount with SUM.
    Hint

    Baseline.

  3. SUMIF Retail City Pune.
    Hint

    Validate later.

  4. COUNTIF Bank_Fees City Dubai.
    Hint

    Fees count.

  5. List PQ steps for both facts.
    Hint

    Notes.

  6. Draft Dim_City rows you need.
    Hint

    Distinct cities.

  7. Write five measure formulas in Notes.
    Hint

    Starter kit.

  8. Sketch the one page layout.
    Hint

    Title/slicers/matrix/card/line.

  9. Write the currency rule in one sentence.
    Hint

    About.

  10. Mark Project_Plan Done? as you pretend to finish.
    Hint

    Checklist.

  11. VLOOKUP a Region onto a city list (LibreOffice).
    Hint

    Dim idea.

  12. Handoff: owner + cadence + audience.
    Hint

    Notes.

Quick quiz

Q1. This mini-project ends with…

Q2. Retail and fees should share…

Q3. Cleaning belongs mainly in…

Q4. Five measures beat…

Q5. Mixed currency Card is…

Q6. Validate PBI numbers with…

Q7. Handoff must name…

Q8. Two facts in one star model are…

Loading practice tasks...

  1. Rows in the fact table (Easy): How many orders are in the Sales table?
  2. Total amount (Easy): Add up the Amount column of Sales.
  3. Total quantity (Easy): Add up the Qty column of Sales.
  4. Products in the dimension (Easy): How many products are in the Products table?
  5. Products actually sold (Medium): How many of the 5 Product IDs (P01 to P05) appear at least once in Sales?
  6. Amount for one city (Medium): Add up Amount where City is "London".
  7. Product name through the relationship (Medium): What is the Product name for Product ID "P03"?
  8. Sales of one product (Medium): Add up Amount where Product ID is "P03".
  9. Average order amount (Medium): Find the average Amount, rounded to 0 decimals.
  10. Category of the first order (Hard): Find the Category of the product in the first order.
  11. Biggest order in London (Hard): What is the largest Amount where City is "London"?
  12. Share of P03 (Hard): What share of the total Amount comes from Product ID "P03"? Round to 3 decimals.

Quick revision cards (3)

Approved Excel card style: standalone, no tip/photo section, QR to this lesson.

Revision card: Card 1 — Migration steps
Card 1 — Migration steps
Revision card: Card 2 — Five measures
Card 2 — Five measures
Revision card: Card 3 — One page checklist
Card 3 — One page checklist