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
- 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.
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.
- sales-practice-data-clean.csv · 200 orders
- sales-practice-products.csv · product costs for gross margin
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.
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:
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?
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.)
- 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.
- 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.
- MeasuresWrite DAX measuresSelect the sales table → New measure, and add the five measures below.
- 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.
- 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").
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?
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.
- 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).
- Check the field types: order_date as Date, revenue as Currency (USD) with Sum aggregation.
- 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. - 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.
- 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.
- 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.
- Data modeling
- ●●●●
- Ease of sharing
- ●●●●
- Best for
- Companies on Microsoft 365, multi-table models, DAX calculations. Very common in U.S. job postings.
- Data modeling
- ●●●●
- Ease of sharing
- ●●●●
- Best for
- Google Sheets, Google Analytics and BigQuery data; marketing teams; free public portfolio links.
3. In Power BI, how should the products and sales tables be related?
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?
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.
Create your account in 30 seconds, mark your lessons and download your certificate at the end.