Lesson 11 of 16 · Level 3: Advanced

Dashboards with Power BI and Looker Studio

  • ⏱ 12 min read
  • ❓ 4 review questions
  • ✍️ Exercise with solution
  • 📥 Downloadable template
In this lesson
  1. Dashboard, report or analysis?
  2. Design before you build
  3. Build it in Power BI
  4. Build it in Looker Studio
  5. Dashboard design checklist
  6. Why dashboards go unused
  7. Summary
What you'll learn
  • What a dashboard is for, and how it differs from a report or a one-off analysis.
  • How to choose KPIs and lay out a one-page dashboard that answers questions in seconds.
  • How to build the course dashboard in Power BI, including DAX measures for revenue, average order and gross margin.
  • How to build the same dashboard in Looker Studio with a calculated field and filter controls.
  • A design checklist and the mistakes that make dashboards go unused.
📥 Practice this lesson

Load the clean sales CSV and the products CSV into Power BI or Looker Studio. Your KPI cards should match the numbers in this lesson exactly.

A dashboard is a single screen that shows the few numbers a team needs to track, updates automatically when the data changes and lets people filter it themselves. Built well, it replaces dozens of "can you send me the latest numbers?" emails. Built badly, it's a wall of charts nobody opens after the first week. In this lesson you'll design a sales dashboard for the course dataset and build it step by step in the two most common free tools: Microsoft Power BI and Google's Looker Studio.

$89,735Total Revenue measure: SUM of revenue
$448.68Average Order Value: revenue ÷ orders
47.4%Gross Margin: gross profit ÷ revenue, using product costs

Dashboard, report or analysis?

These three get mixed up, and the confusion leads to bad dashboards:

  • A dashboard monitors: the same KPIs, refreshed regularly, for people who check them often. "How are we doing this month?"
  • A report documents: a detailed, often static view for a period, such as a monthly sales report with tables.
  • An analysis answers a specific question once: "Why did December spike?" (Lesson 2).

If a question will be asked every week, it belongs on a dashboard. If it's asked once, answer it with an analysis and don't clutter the dashboard with it.

Design before you build

Start on paper. Answer three questions: Who will use it (a VP checking weekly, or an analyst exploring)? What decisions will they make with it? Which 3 to 5 KPIs tell them if things are on track? For our retailer's sales team:

Wireframe of a one-page sales dashboard Filters for region, channel and month at the top right; four KPI cards (revenue $89,735, orders 200, average order $448.68, gross margin 47.4%); a monthly revenue line chart on the left and a revenue by channel bar chart on the right. 2025 Sales Dashboard Region ▾ Channel ▾ Month ▾ Revenue$89,735 Orders200 Avg order value$448.68 Gross margin47.4% Revenue by month Revenue by channel Wholesale68.5% Online17.7% Retail13.8%
Most important numbers at the top left (people scan like a "Z"), the trend below them, the breakdown beside it and filters in a consistent spot. Four KPIs and two charts are enough for this audience.

Every element earns its place: the KPI cards answer "how are we doing?", the line answers "is it getting better or worse?", the channel bars answer "where does it come from?" and the filters let each regional manager see their own slice.

1. Which set of KPIs best fits the top row of a sales dashboard for the VP of Sales?

  • Number of columns in the database, rows imported, refresh time, file size
  • Revenue, orders, average order value, gross margin
  • Every product's revenue as a separate card

KPIs should be the few numbers that tell the audience whether the business is on track. Technical details belong in a data-quality view, and ten product cards would be a table pretending to be KPIs.

Build it in Power BI

Power BI Desktop is a free download for Windows. (On a Mac, use Looker Studio below, or Power BI Desktop through a Windows virtual machine.)

  1. Get dataLoad both CSV filesHome → Get data → Text/CSV → choose the clean sales file → Transform Data. In Power Query, confirm the types: order_date as Date, units, unit_price and revenue as Whole Number. Close & Apply. Repeat for the products file.
  2. ModelRelate the tablesIn Model view, check the relationship products[product] (one) → sales[product] (many). Power BI often creates it automatically; if not, drag one field onto the other.
  3. MeasuresWrite DAX measuresSelect the sales table → New measure, and add the five measures below.
  4. VisualsAdd cards, charts and slicersCard visuals for the KPIs, a line chart (order_date by month, Total Revenue), a bar chart (channel, Total Revenue) and slicers for region and channel.
  5. SharePublishHome → Publish sends the report to the Power BI service. Sharing with colleagues generally requires a paid license; check what your employer uses.
Total Revenue   = SUM ( sales[revenue] )
Orders          = COUNTROWS ( sales )
Avg Order Value = DIVIDE ( [Total Revenue], [Orders] )
Gross Profit    = SUMX ( sales,
                    sales[units] * ( sales[unit_price] - RELATED ( products[unit_cost] ) ) )
Gross Margin %  = DIVIDE ( [Gross Profit], [Total Revenue] )

With no filters, the cards show $89,735, 200 orders, $448.68, $42,514 and 47.4%. Click "West" in the region slicer and every measure recalculates for that slice: $36,626, 64 orders, $572.28 and a 46.5% margin. That's the power of measures: they're calculated on the fly for whatever filters are active (the "filter context").

Measures, not averaged columns

Don't compute "average order value" as a column and then average it in a visual, and never average the regional averages. DIVIDE([Total Revenue], [Orders]) always gives the correctly weighted value for the current filter, and DIVIDE returns blank instead of an error if orders are zero.

2. Why is Avg Order Value = DIVIDE([Total Revenue], [Orders]) better than averaging the four regional averages?

  • It weights every order equally for any filter; averaging regional averages ignores that regions have different order counts
  • DIVIDE is faster than a simple average
  • Regional averages can't be calculated in Power BI

Averaging the regional averages gives $444.27, because the Midwest's 32 orders count as much as the West's 64. Total revenue ÷ total orders gives the true $448.68, and the measure stays correct whatever filter is applied.

Build it in Looker Studio

Looker Studio is Google's free dashboard tool and runs in any browser. It connects natively to Google Sheets, BigQuery and Google Analytics.

  1. Go to Looker Studio, create a Blank report and choose Add data. Use the File Upload connector for the CSV, or the Google Sheets connector if you uploaded the workbook to Google Drive (pick the Sales Clean sheet).
  2. Check the field types: order_date as Date, revenue as Currency (USD) with Sum aggregation.
  3. Insert → Scorecard for revenue. For orders, use Record Count. For average order value, add a calculated field: SUM(revenue) / COUNT_DISTINCT(order_id), which returns $448.68.
  4. Insert a Time series chart with order_date (Year Month) as the dimension and revenue as the metric, and a Bar chart with channel as the dimension, sorted by revenue descending.
  5. Add a control → Drop-down list for region and another for channel, plus a Date range control. Viewers can now filter every chart on the page.
  6. Click Share to invite people by email, just like a Google Doc, or schedule an email delivery of the report.

For gross margin, Looker Studio needs the product costs too: use Blend data to join sales and products on the product field, then add a calculated field for gross profit. Blending works, but it's less flexible than Power BI's data model, so many teams prepare joined data in SQL or BigQuery first.

Power BIMicrosoft's BI platform
Data modeling
●●●●
Ease of sharing
●●●●
Best for
Companies on Microsoft 365, multi-table models, DAX calculations. Very common in U.S. job postings.
Most powerful
Looker StudioGoogle's free dashboard tool
Data modeling
●●●●
Ease of sharing
●●●●
Best for
Google Sheets, Google Analytics and BigQuery data; marketing teams; free public portfolio links.
Easiest to start

3. In Power BI, how should the products and sales tables be related?

  • Many-to-many on unit_price
  • One-to-many from products[product] to sales[product]
  • They shouldn't be related; copy the costs into the sales file by hand

Each product appears once in the products table and many times in the sales table, so it's one-to-many on the product key. That lets RELATED() fetch each sale's unit cost for the Gross Profit measure.

Dashboard design checklist

Why dashboards go unused

Building for "everyone," with 25 charts.

Design for one audience and its top questions; build a second page or a second dashboard for others.

KPIs without context: "$36,626."

Add a comparison: vs. last year, vs. target, or share of total (40.8%).

Numbers that don't match finance's report.

Reconcile totals before launch and document definitions (is revenue before or after returns?).

Manual refreshes that someone forgets.

Connect to the source and schedule automatic refresh where possible.

4. A regional manager asks to see only their region in the Looker Studio dashboard. What's the simplest solution?

  • Build four separate dashboards, one per region
  • Ask them to export the data to a spreadsheet and filter it
  • Add a drop-down list control for region so viewers can filter every chart

A filter control lets each viewer choose their own slice of the same dashboard. Four copies would quadruple the maintenance, and exporting defeats the purpose of a dashboard.

Practice exercise

Design a one-page dashboard for the West regional manager. List the KPI cards (with their values for 2025), two charts and one filter. Use the data or the Summary sheet to get the numbers.

See solution

KPI cards (region filter set to West):

  • Revenue: $36,626 (40.8% of company revenue)
  • Orders: 64
  • Average order value: $572.28 (36,626 ÷ 64)
  • Gross margin: 46.5% ($17,034 gross profit ÷ $36,626)
  • Wholesale share of revenue: 76.8% ($28,131 ÷ $36,626), a key risk indicator for this region

Charts: (1) revenue by quarter, which shows how lumpy the West is: Q1 $593, Q2 $14,264, Q3 $6,304, Q4 $15,465; (2) revenue by state as a sorted bar chart: California $15,467, Arizona $9,776, Washington $8,262, Colorado $2,647, Oregon $474.

Filter: channel (so the manager can switch between wholesale and consumer views). In Power BI you could lock the region with a page-level filter; in Looker Studio, a report-level filter does the same.

Summary

  • Dashboards monitor recurring KPIs; one-off questions belong in an analysis.
  • Design first: audience, decisions, 3–5 KPIs, then a Z-shaped layout with KPIs on top.
  • In Power BI, load and type the data, relate products to sales, and write DAX measures like DIVIDE([Total Revenue], [Orders]).
  • In Looker Studio, connect a CSV or Google Sheet, add scorecards, charts, calculated fields and filter controls, then share like a Google Doc.
  • Reconcile totals, keep colors consistent and show the refresh date so people trust and use the dashboard.

Next lesson: Data Storytelling: Presenting Your Findings. You'll turn numbers and charts into a short, persuasive story that leads to a decision.

🎓 Save your progress and get a free certificate

Create your account in 30 seconds, mark your lessons and download your certificate at the end.

Enroll for free