Ravindra BagaleCourses & study guides Track your progress

Excel → Power BI Bridge

Bridge 4. PivotTables → matrix & visuals

Friends,

Friends, your Pivot muscle still works. Rows, Columns, Values, Filters become Matrix fields and slicers. Watch currency.

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

  • Map Pivot Rows/Columns/Values/Filters to Matrix + slicers.
  • Use Show Values As ideas via quick measures carefully.
  • Keep currency out of a blind SUM.
  • Build the same question in Excel Pivot and a Matrix plan.

A short story

Amit’s Nashik desk wants City down the side and Industry across — classic Pivot. In Desktop that shape is a Matrix, with Currency on a slicer so INR never hugs GBP.

Ravindra Bagale’s Tip

Never drop mixed currencies into one Values well without a rule. Filter or convert first.

1. Field list → Matrix wells

Friends,

If the Matrix looks empty, check filters and relationships — not only the visual.

Why: Same mental model, new UI.

What: Rows / Columns / Values / Filters.

How:

  1. Create a Matrix visual.
  2. Drag City to Rows, Industry to Columns.
  3. Drag Amount to Values.
  4. Put Currency on a slicer, not silently in Values.
ExcelPower BI / DAXResultMeaning
Excel Pivot
Rows=City, Columns=Industry
Power BI
Matrix + slicer
Grid Pune Retail vs IT cells appear.

2. Report filters become slicers

Friends,

Visible filters beat hidden page-level traps in class demos.

Why: Slicers are friendlier for managers.

What: Currency / City slicers sync across visuals.

How:

  1. Insert slicer for Currency.
  2. Optionally sync slicers across pages later.
  3. Keep one clear default (e.g. INR).
  4. Do not hide a dangerous filter with no UI.
ExcelPower BI / DAXResultMeaning
Excel
Pivot Filter / slicer
Power BI
Slicer visual
Filtered Emma sees only GBP when she needs it.

3. Values and aggregation

Friends,

Name measures Total Sales vs Order Count so nobody guesses.

Why: Sum is not always right.

What: Count of OrderID vs Sum of Amount.

How:

  1. Ask: count orders or sum money?
  2. Use Count for OrderID; Sum for Amount.
  3. Watch blanks — they are not zeros.
  4. Separate measures later for clarity.
ExcelPower BI / DAXResultMeaning
Excel
Summarize by Sum/Count
Power BI
Default Sum; change in well
Clear Omar’s fee count ≠ fee sum.

4. Show Values As → quick ideas

Friends,

DIVIDE protects you from divide-by-zero better than plain /.

Why: % of total is a habit in Pivot.

What: Quick measures / DIVIDE patterns.

How:

  1. In Pivot: Show Values As % of Grand Total.
  2. In PBI: quick measure or DIVIDE(num, den).
  3. Never % across mixed currencies.
  4. Label the visual “% of filtered total”.
ExcelPower BI / DAXResultMeaning
Excel
Show Values As
Power BI
Quick measure / DIVIDE
% Neha’s Kolhapur share of INR total.

5. Matrix design habits

Friends,

A Matrix plus one Card often beats a Matrix that tries to shout every total.

Why: Stepped layout, subtotals, word wrap.

What: Turn off noisy totals when teaching.

How:

  1. Toggle row subtotals if they confuse beginners.
  2. Resize columns; turn on word wrap for long names.
  3. Use a clear title: Sales by City × Industry.
  4. Add a card for Grand Total beside the Matrix.
ExcelPower BI / DAXResultMeaning
Excel
Design tab on Pivot
Power BI
Format visual pane
Readable Sofia’s Berlin class can read City names.

6. Sort and top N

Friends,

Top N without a currency rule is a trap question in exams and in life.

Why: Managers ask for top 5 cities.

What: Sort by Amount; filter Top N carefully.

How:

  1. Sort Matrix by Value descending.
  2. Top N via filters pane / visual level.
  3. Say which currency the Top N uses.
  4. Compare with Excel Pivot Top 10 filter.
ExcelPower BI / DAXResultMeaning
Excel
Top 10 filter
Power BI
Filter pane Top N
Top cities Priya’s Pune stays visible in INR Top N.

7. Multiple visuals, one question

Friends,

One page, one story. Extra visuals need a reason.

Why: Pivot is one grid. Desktop is a page.

What: Matrix + line + slicer answer richer questions.

How:

  1. Keep Matrix for comparison.
  2. Add a line for monthly trend (later data).
  3. Same slicer drives both.
  4. Do not build six Matrices that ask the same thing.
ExcelPower BI / DAXResultMeaning
Excel
One Pivot sheet
Power BI
Page of visuals
Story Ananya’s IT pack: Matrix + trend.

8. When to stay on Excel Pivot

Friends,

The bridge respects Excel. It relocates shared truth.

Why: Small personal grids are fine.

What: Bridge, do not ban.

How:

  1. Personal scratch analysis → Excel Pivot OK.
  2. Shared board used by 12 managers → Matrix on a model.
  3. Analyze in Excel can reconnect later.
  4. Pick tools by audience size and refresh need.
ExcelPower BI / DAXResultMeaning
Excel
Local Pivot
Power BI
Published Matrix
Choice Chen Wei drafts in Excel, publishes in PBI.

Practice tasks (12)

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

  1. Read About this data. Note the currency warning.
    Hint

    First sheet.

  2. On Pivot_Source, build an Excel Pivot: City rows, Industry columns, Sum Amount.
    Hint

    Classic layout.

  3. Add Currency as a Pivot filter; set INR only.
    Hint

    Avoid mixed sum.

  4. Fill Matrix_Plan column gaps in your own words.
    Hint

    Rows/Columns/Values/Filters.

  5. Write why Amount+mixed Currency is dangerous.
    Hint

    Notes sheet.

  6. Compute Pune total with SUMIF (LibreOffice-safe).
    Hint

    =SUMIF(City,"Pune",Amount)

  7. Count Manchester rows with COUNTIF.
    Hint

    Orders ≠ money.

  8. Propose a Top 3 cities rule that names currency.
    Hint

    INR Top 3…

  9. Sketch one page: Matrix + Currency slicer + Card.
    Hint

    Notes.

  10. List Show Values As → DIVIDE idea in one sentence.
    Hint

    % of filtered total.

  11. Flag any blank City with IF.
    Hint

    Data quality.

  12. Write when you would keep a local Excel Pivot instead.
    Hint

    Personal scratch.

Quick quiz

Q1. Pivot Rows map closest to…

Q2. Currency for managers should usually be a…

Q3. Sum of Amount across INR+GBP without a rule is…

Q4. Show Values As % becomes which habit in DAX?

Q5. Order Count should use…

Q6. Top N must state…

Q7. A Matrix + Card is often better than…

Q8. Personal scratch Pivot in Excel is…

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 — Pivot field map
Card 1 — Pivot field map
Revision card: Card 2 — Filters → slicers
Card 2 — Filters → slicers
Revision card: Card 3 — Show Values As
Card 3 — Show Values As