Module 03: Building Visualisations with Power BI
Module 3
Module Overview
Modules 1 and 2 taught you how to read a business visualisation, judge whether it works, and plan a dashboard around what its users need. Module 3 is where you build one. The tool is Microsoft Power BI, and the running example is Superstore, a fictional US retailer. The module follows the real order of work an analyst goes through:
- Bring the data in and prepare it: load four separate files, fix data types and formats, clean them in Power Query, connect them in a data model, and define hierarchies.
- Create calculations: decide between a calculated column and a measure, and write measures in DAX.
- Set the look once: build a report theme so every visual inherits the same colours, fonts and effects.
- Build the core visuals: tables (with conditional formatting), donut charts and interactions, column and bar charts, hierarchy drill-down, help tooltips, line charts and date drill-down, KPI cards, slicers and scatter plots.
- Assemble the report page and use the designer's tools: filters pane, sync slicers, selection pane, alignment and grouping.
- Extend the toolkit: matrix, combo chart, waterfall chart and stacked area charts.
The question that runs through every visual is simple: How is this business performing? Where is it making money, and where is it losing money?
Memory hook: Load, Clean, Connect, Calculate, Theme, Build, Assemble. Each step makes every later step faster, which is why the theme and the measures come before the first chart.
3.1 Getting Started with Power BI
3.1.1 The Tool
Power BI is Microsoft's business intelligence tool.
| Component | What it is | Used for |
|---|---|---|
| Power BI Desktop | Free application that runs on Windows | Loading data, modelling, building reports (this module) |
| Power BI service | Online, cloud-based service | Sharing reports and dashboards (next module) |
Power BI Desktop has a new release every month, so menus may look slightly different in a newer version, but the steps work the same way.
3.1.2 Report vs Dashboard in Power BI's Language
Everyday business language and Power BI's own vocabulary use these words differently.
| Term | Meaning in Power BI |
|---|---|
| Report | One or more pages of interactive visuals. This is what you build in Power BI Desktop |
| Dashboard | Always a single screen, made by pinning visuals from reports in the online cloud service |
Common trap: what most businesses call a "multi-screen dashboard" is a report in Power BI's language. A Power BI dashboard is strictly one screen of pinned visuals in the cloud service.
3.1.3 What the Module Builds
- Load and clean the data, connect the tables, and create calculations.
- Build seven main chart types, from tables to line charts to KPI cards.
- Format each visual and the page itself.
- Assemble the visuals into a first report page.
3.1.4 The Superstore Dataset
Superstore is a fictional US retailer selling office supplies, furniture and technology to three customer segments: Consumer, Corporate and Home Office.
The data arrives as four separate files. This is realistic: in most companies orders sit in one system, customer details in another and product information in a third, each looked after by a different team. Bringing them together is part of an analyst's job.
| File | Grain (one row per...) | Key fields |
|---|---|---|
| Orders_Products (order file) | One row per product in an order, so the Order ID repeats when an order has several products | Order ID, Order Date, Customer ID, Product ID, Net Sales, Quantity, Profit, Discount |
| Customer Lookup | One row per customer | Customer ID (named cust_id), Customer Name, Segment, City, State, Region, Country, Postal Code |
| Product Lookup | One row per product | Product ID, Category, Sub-Category, Product Name |
| Shipping | One row per order | Order ID, Ship Date, Ship Mode |
Scale of the data:
| Measure | Value |
|---|---|
| Period | Four years, 2015 to 2018 |
| Order lines | About 9,000+ |
| Total net sales | About USD 2.2 million |
| Categories | 3: Technology, Office Supplies, Furniture |
| Regions | 4: West, East, Central, South |
| Segments | 3: Consumer, Corporate, Home Office |
Exam tip: the order file holds the numbers but only IDs for customers and products. The lookup tables exist to turn those IDs into names, segments, regions and categories. That is why the tables must be connected before you can build, say, a segment-wise report.
3.1.5 The Power BI Desktop Interface
Start with Blank report when the application launches.
Right-hand panes
| Pane | Purpose |
|---|---|
| Data | Lists every loaded table and, when expanded, its columns and measures. These are the fields used to build charts |
| Visualizations | The gallery of visual types. Its tabs are used to build the visual (add data) and to format it |
| Filters | Visual, page and all-page filters set by the designer (used later in the module) |
Each pane can be opened or closed with the double arrows.
Centre: the canvas, where you drag, drop and arrange visuals.
Left-hand views
| View | What it shows |
|---|---|
| Report view (default) | The canvas where visuals are built |
| Table view | The loaded data as a spreadsheet, for checking that it loaded properly and for setting data types and formats |
| Model view | The tables and the relationships between them. This is where datasets are connected |
| DAX query view and TMDL view | Advanced views, set aside for this course |
Top: a standard Microsoft-style navigation (File, Home, Insert, View and so on) and the ribbon of functions.
3.2 Loading and Preparing the Data
3.2.1 Get Data
Get Data connects Power BI to many sources: Excel workbooks, CSV files, SQL Server and many more. In a large organisation you will usually connect to SQL tables; here the source is Excel.
Steps: load the order and shipping sheets
- Home > Get Data > Excel workbook.
- Select the file Order Products and Shipping and click Open.
- The Navigator window lists the worksheets. Power BI recognises separate worksheets in one Excel file, so all four datasets could have been tabs in a single workbook.
- Tick both Orders_Products and Shipping.
- Choose Load (the alternatives are Transform Data and Cancel). Transformation is done later.
- Each worksheet appears as a separate table in the Data pane.
Repeat Get Data > Excel workbook > Connect for the Customer Lookup file and then the Product Lookup file, clicking Load each time.
The course deliberately loads multiple files rather than one workbook because in real life different departments hand you different files, and you need to know how to connect them.
3.2.2 Reading the Field Icons
| Icon next to a field | Meaning |
|---|---|
| Sigma (Σ) | A numeric field that Power BI will aggregate (add, subtract and so on) |
| Calendar | A date field |
| Calculator | A calculated measure |
| Small arrow / hierarchy symbol | A hierarchy (the date field already has one) |
Common trap: a sigma does not mean the field should be added up. Postal Code loaded with a sigma because it was stored as a number in Excel. You will never add or subtract postal codes, so it must be changed to text.
3.2.3 Problems Spotted on First Load
| Table | Problem | Fix |
|---|---|---|
| Customer Lookup | Postal Code is a whole number (sigma) | Change data type to Text in Table view |
| Customer Lookup | Country has only one value (United States) throughout | Remove the column in Power Query |
| Customer Lookup | Customer name wanted in capitals for some reports | Add column from examples in Power Query |
| Orders_Products | Order Date is a date-time, but no time was captured | Change to Date, format MM/DD/YYYY |
| Shipping | Ship Date has the same date-time issue | Change to Date, format MM/DD/YYYY |
| Product Lookup | Headers show as Column1, Column2, Column3, Column4 | Use first row as headers in Power Query |
Why delete a column like Country? Each column occupies memory. Keep the data that is useful for visuals and remove columns that will never be used. Sorting the column ascending and descending in Table view showed only "United States", so it carries no information.
3.2.4 Fixing Data Types and Formats in Table View
Steps: change Postal Code to text
- Click Table view on the left.
- Open Customer Lookup and select the Postal Code column.
- In Column tools on the ribbon, change Data type from Whole number to Text. The sigma disappears.
Steps: fix the date columns
- In Table view, open Orders_Products and select Order Date.
- In Column tools, change Data type from Date/time to Date.
- In Format, choose MM/DD/YYYY so the full four-digit year shows.
- Repeat for Ship Date in the Shipping table.
Formatting set in Table view carries into every visual built on that column, so it does not need to be redone in Power Query.
3.2.5 Power Query Editor
In large projects, data engineers prepare data ready for visualisation. You will still often need to transform data yourself, and Power Query is a powerful tool that lets a non-engineer perform many data operations.
Open it: Home > Transform Data. A new window, the Power Query Editor, opens. Tables are listed on the left.
The small table icon at the top left of each table's grid opens a comprehensive menu of operations (many also appear on the ribbon):
| Operation | Use |
|---|---|
| Copy entire table | Duplicate the data |
| Use first row as headers | Promote the first data row to column names |
| Add custom column | Create a new column with a calculation |
| Add column from examples | Type a few examples and Power BI infers the rule |
| Choose columns / Remove columns | Keep or drop columns |
| Keep rows / Remove rows | Keep or drop rows |
| Remove duplicates | Ensure unique rows |
Applied Steps: every action you take is recorded in the Applied Steps list on the right ("Promoted headers", "Removed columns" and so on). This is an audit trail of the transformation.
Steps: fix the Product Lookup headers
- Home > Transform Data.
- Select Product Lookup. The first data row actually contains the column headers.
- Open the table menu and choose Use first row as headers. A step is added under Applied Steps.
- Click Close & Apply.
Steps: remove Country
- Home > Transform Data, select Customer Lookup.
- Select the Country column and choose Remove columns. Applied Steps shows "Removed columns".
Steps: add a capitalised customer name
- From the table menu choose Add column from examples.
- Double-click the new column header and rename it (for example Customer Name Proper).
- Type the first customer name (Claire Gute) in capitals; if it does not register, type a second (Darrin Van Huff) in capitals.
- Power BI greys in the rest of the column with its inferred rule (capitalise everything). Click OK.
- Close & Apply.
| Button | Effect |
|---|---|
| Apply | Applies changes but keeps you in Power Query, so you can move on to another table |
| Close & Apply | Applies changes and closes the Power Query Editor |
Memory hook: Table view is for types and formats of existing columns. Power Query is for reshaping: headers, removing columns or rows, adding columns, removing duplicates.
3.3 The Data Model
3.3.1 Why Connect Tables
Most dashboards are built from multiple datasets, each holding part of the information. Visualisations become powerful when that information comes together. For a segment-wise sales report, the order table must be able to look up each customer's segment in the Customer Lookup table.
Once the files are connected, it is as if you are working with one file holding all the information. The data model is one of the most important inputs to a great dashboard. Data engineers do this in large companies, but in a startup or for your own dashboard you can build the model yourself.
3.3.2 Match Keys
Open Model view (third icon on the left). Tables appear as boxes, with relationship lines between connected tables.
A match key is at least one column common to both tables, so rows can be matched on the values in that column.
| Pair of tables | Common column | Connected how |
|---|---|---|
| Orders_Products and Product Lookup | Product ID in both, spelled identically | Automatically |
| Orders_Products and Shipping | Order ID in both, spelled identically | Automatically |
| Orders_Products and Customer Lookup | Customer ID in the order table, but cust_id in the lookup | Floating loose: must be connected manually |
Power BI auto-detects relationships only when the column names match. The customer table holds the same IDs under a different name, so Power BI cannot see the link.
Steps: connect Customer Lookup manually
- In Model view, drag cust_id from Customer Lookup and drop it on Customer ID in Orders_Products.
- The relationship dialog shows from Customer Lookup to Orders_Products, cardinality One to many.
- Click Save to make the relationship active.
3.3.3 Cardinality
| Cardinality | Meaning | Superstore example |
|---|---|---|
| One to many (1:*) | Each key value appears once on the "one" side and many times on the "many" side | One row per customer in Customer Lookup; the same customer has many order lines |
| Many to one (*:1) | The same relationship read from the other side | Many order lines map to one row in Product Lookup |
Double-click a relationship line to open it, or simply select it to see a summary (the columns used on each side, such as Product ID and Product ID). Always check that the correct columns have been mapped.
3.3.4 Lookup Tables Must Be Unique
For lookups to work, each lookup table must contain only unique rows for its key. If Power BI finds several rows for one Product ID, it does not know which to connect to.
Exam tip: the three checks before trusting a model: (1) every lookup table has unique keys, (2) every relationship maps the right column, (3) every table you need is actually connected (watch for tables "floating loose" because of a naming mismatch).
3.4 Hierarchies
3.4.1 What a Hierarchy Is
Many data elements have levels. A hierarchy lets a user see patterns at the top level and drill down to lower levels when needed.
| Hierarchy | Levels (top to bottom) | Created how |
|---|---|---|
| Date | Year > Quarter > Month > Day (each year has 4 quarters, each quarter 3 months, each month 28 to 31 days) | Automatically by Power BI for date fields |
| Product | Category > Sub-Category > Product (ID or Name) | Must be defined by you; Power BI cannot recognise it |
Example of use: year-wise sales show a dip in one year. Did every quarter dip, or only one? Drilling from Year to Quarter answers it in the same visual.
Superstore's product hierarchy: three categories, each with several sub-categories (Furniture includes Tables, Chairs and so on), each with many individual products (many different tables sit under the Tables sub-category).
3.4.2 Creating the Product Hierarchy
Steps
- In the Data pane, expand Product Lookup.
- Click the three dots (...) next to Category and choose Create hierarchy. A new field, Category Hierarchy, appears (the arrow next to it marks a hierarchy) with Category already in it.
- Click the three dots next to Sub-Category, choose Add to hierarchy > Category Hierarchy.
- Click the three dots next to the product field and choose Add to hierarchy > Category Hierarchy. (The data-preparation walk-through adds Product ID; when the hierarchy is used in the bar chart it is built with Product Name, which is more readable on an axis.)
- Expand Category Hierarchy to confirm the levels: Category, Sub-Category, Product.
Good practice: once the hierarchy exists, hide the individual fields (Category, Sub-Category, Product ID) so nobody uses them by mistake. Three dots > Hide. Hiding does not delete anything; the fields remain available inside the hierarchy.
The Order Date field in Orders_Products already shows the hierarchy arrow: expand it to see Year, Quarter, Month, Day.
3.5 Calculated Columns, Measures and DAX
3.5.1 Why Calculations Are Needed
Some numbers are in the data already (Net Sales, Profit, Quantity, Discount). Others must be calculated:
- Profitability (profit over sales) does not exist in the data.
- Users will select a date range, a category or a region, and the totals must recalculate for that selection.
Power BI offers two ways to calculate.
3.5.2 Column vs Measure
| Feature | Calculated column | Measure |
|---|---|---|
| When computed | Once for every row, at load | On the fly, at query time |
| Stored? | Physically stored in the table, uses memory | Nothing stored; recalculates on every change |
| Reacts to filters, slicers, grouping? | No, the row value is fixed | Yes, computed for whatever is currently filtered, sliced or grouped |
| Can be used to filter or as a chart axis? | Yes | No: you cannot filter on a measure, because it is not an actual column |
| Superstore example | Capitalised customer name (a customer's name never changes with a selection) | Total net sales, total profit, profitability, discount %, % of target, year-over-year growth, quarterly vs yearly sales |
| Icon | Column icon | Calculator |
Why profitability should be a measure: you could compute a profitability % for every row, but when a user selects the West region you need West's profitability, which is West's total profit ÷ West's total net sales. Adding up row-level percentages gives the wrong answer. A measure recalculates at the moment of selection.
Exam tip: the two-question test.
- "Does this need to change automatically depending on what is filtered or sliced?" If yes, create a measure.
- "Do I need this as something to filter by or to put on an axis?" If yes, create a calculated column.
Common trap: "a percentage, so make it a column" is wrong. Ratios such as profitability and discount % must be computed from totals after filtering, which is exactly what a measure does.
3.5.3 DAX
Measures are written in DAX (Data Analysis Expressions), a formula language that feels familiar to anyone who has written Excel formulas. DAX has a very large function library: summing, counting, dividing, applying conditions, and time intelligence such as year-on-year or month-on-month comparisons.
3.5.4 Creating Measures
There are several places to create a measure; all work the same way:
- Data pane: three dots next to Orders_Products (or next to any field in it) > New measure.
- Ribbon: New measure.
A formula bar opens, just like Excel's. Type the measure name, =, then the expression. When you type a function such as SUM(, a dropdown lists tables and their columns; pick the column, close the bracket and press Enter. The measure appears in the table with a calculator icon.
The Superstore measures
Total Net Sales = SUM(Orders_Products[Net Sales])
Total Profit = SUM(Orders_Products[Profit])
Profitability = DIVIDE([Total Profit], [Total Net Sales])
Total Discount = SUM(Orders_Products[Discount])
Discount_PCT = DIVIDE([Total Discount], [Total Net Sales] + [Total Discount])
Net sales is gross sales minus the discount given to the customer, so it is the amount the customer actually pays.
Common trap: dividing Total Discount by Total Net Sales overstates the discount %, because the denominator has already been reduced by the discount itself.
Worked example: discount % on gross vs net sales (illustrative figures)
A sub-category has Total Net Sales of 900 and Total Discount of 100.
Answer: the correct discount % is 10% of gross sales of 1,000. Dividing by net sales inflates it to 11.1%.
Worked example: Superstore overall profitability
The totals across all four years are Total Profit of about 273K and Total Net Sales of about 2.2 million.
Answer: about 12.4%. The table total, computed on unrounded figures, shows 12.42%.
3.5.5 Why DIVIDE Rather Than the Slash
You can divide with / as in Excel, but if the denominator is zero (for example, net sales of zero for some selection) the formula returns an error. DIVIDE is a safe divide function that handles the divide-by-zero case. Its syntax is DIVIDE(numerator, denominator).
3.5.6 Formatting Measures
When a measure is selected, its formatting appears on the ribbon:
- Total Net Sales: decimals left on Auto.
- Profitability and Discount_PCT: format as Percentage, with the default 2 decimal places.
Formatting set here becomes the default for that measure across the whole report, and can still be overridden for a specific visual later. Measures are reusable: once created and formatted they behave like any other field.
Building blocks: Profitability depends on two earlier measures (Total Profit and Total Net Sales). The usual practice is to build a few simple measures first and compose more complex ones from them. New measures are added as needed (Total Discount is created again later, for example, when the scatter plot needs it).
3.5.7 Save Early
Save before building anything and keep saving as you go: File > Save As, name it (for example Superstore). Power BI saves a .pbix file, which can be shared with others or reopened later. Keep this file; the next module builds on it.
3.6 The Report Theme
3.6.1 Why Set a Theme First
Formatting is the most time-consuming part of building a Power BI report. Anything set up at the start saves time on every later visual. A theme is one set of colours, text and visual settings that every visual follows. The approach: start from Power BI's current default theme, customise it, save it, and from then on it applies to everything you build. The theme can be edited at any time later.
3.6.2 Steps to Customise the Theme
- View on the top navigation. Confirm Current theme: Default.
- Choose Customize current theme.
- Theme settings: enter a name such as Superstore Course Theme.
- Colors: pick a palette. Choose Accessible default.
- Sentiment colours: set Negative to a deep red (via More colors), Positive to green, Neutral to amber.
- Divergent colours: Maximum green, Center amber, Minimum red.
- Text > General: about 16 pt.
- Text > Title: change from about 12 pt to 18 pt.
- Visuals > Background: keep white.
- Visuals > Border: on, light grey; Rounded corners on, increased to 10 px.
- Visuals > Shadow: on.
- Page > Canvas settings: keep 1920 × 1080.
- Page > Canvas background: lightest grey with extra transparency.
- Page > Wallpaper: leave default.
- Apply, then View > Themes > Save current theme (download) as Superstore Course Theme, a JSON file.
3.6.3 What Each Setting Does
| Setting | Effect and reason |
|---|---|
| Accessible palettes | Adapted so people with mild colour blindness can still read most colours |
| First colour of the palette | Becomes the default colour for most charts. With Accessible default, column and line charts appear blue |
| Sentiment colours | Positive, negative, neutral (used by default in data bars and similar formatting) |
| Divergent colours | The gradient used in conditional formatting, like Excel's colour-scale formatting of cells |
| General text size | Used for things like table values |
| Light grey border | Defines the visual without dominating it |
| Rounded corners and shadow | Each visual looks slightly lifted off the page. These are design choices, changeable to suit users |
| Canvas 1920 × 1080 | Keeps enough detail even when projected on large monitors |
| Grey canvas, white visuals | White visuals stand out against the grey page. Companies usually match this to brand colours |
| Wallpaper | The area behind the canvas, seen when the screen is larger than the page |
| Saved JSON | A backup that can be browsed and applied to other reports |
Common trap: the theme's fonts and colours reach every visual, and the general text size reaches tables, but chart titles, axis labels and axis titles often do not follow these sizes. They must be formatted on each visual (or copied with the Format Painter).
3.6.4 Edit the Theme, Not Every Visual
When the tooltip text turned out too large (it inherited the 16 pt general size), the fix was made in the theme, not in the visual:
- Click on empty canvas so no visual is selected (page level).
- In the Format pane, open the third option, Customize your report theme.
- Visuals > Tooltip: reduce text size to 10.
Exam tip: fixing a setting in the theme changes it everywhere at once. Fixing it in a visual's format pane changes only that visual. Get into the habit of going back to the theme.
3.7 Tables and Conditional Formatting
3.7.1 Building the Sub-Category Performance Table
A table shows detail and is used constantly in reports. The goal: Sub-Category, Total Net Sales, Total Profit and Profitability.
Steps
- Double-click the page tab and rename it Table (just like Excel tabs).
- In Visualizations, click (or drag) the Table visual onto the canvas and resize it.
- In the Build visual pane (add data to your visual), drag into Columns: Sub-Category (Product Lookup), Total Net Sales, Total Profit, Profitability (Orders_Products).
Default behaviours:
- A Totals row appears (can be turned off in formatting).
- A scroll slider appears when there are more rows than the visual can show.
- Every column is sortable, ascending or descending.
What the table showed
| Finding | Detail |
|---|---|
| Most profitable sub-categories | Labels, Paper, Envelopes and others at 40%+ profitability |
| Loss-making sub-categories | Tables, Bookcases, Supplies |
| Totals | About 2.2 million net sales, 273K total profit, 12.42% profitability |
3.7.2 The Format Pane
The second tab of Visualizations is Format your visual. It has two sections:
| Section | Contents |
|---|---|
| Visual | Properties specific to the visual type (a table's grid, columns and cell elements; a line chart's lines and markers) |
| General | Properties common to all visuals: size and position, Title and Subtitle, Effects (background, border, rounded corners, shadow), Header icons, Properties > Advanced options |
3.7.3 Formatting the Table
Steps
- Style presets: options such as Minimal or Flashy rows; choose None to format manually.
- Values: font comes from the theme (Segoe UI 16), kept for readability.
- Column headers: text colour changed to dark blue so headers stand out.
- Totals: kept on.
- Specific column: pick one column at a time and set its formatting:
| Column | Formatting applied | Reason |
|---|---|---|
| Sub-Category | Text colour matched to header (dark blue) | Visual consistency |
| Total Net Sales | Display units: Thousands, 0 decimals (numbers stay right-aligned by default) | Smallest value is about 3,024, so thousands keeps every value visible and clean |
| Total Profit | Thousands, 1 decimal | Smallest positive value is 949, which shows as 0.9K rather than 1K |
| Profitability | Display units untouched (already a %), 1 decimal | Fewer digits to read |
Number format can be set in three places: when creating the measure, in Table view for a column, or in the visual (where you mostly change display units and decimals).
Memory hook: close each formatting card after you use it. The more cards open in the pane, the harder it is to find your way.
3.7.4 Cell Elements and Conditional Formatting
Visual elements added to numbers help users spot what matters in a dense table. Cell elements control formatting of each cell value. For a numeric field the options are:
| Cell element | What it does |
|---|---|
| Background color | Colours the whole cell (like Excel conditional formatting) |
| Font color | Colours the number |
| Data bars | Draws a bar proportional to the value inside the cell |
| Icons | Adds a symbol (traffic lights, arrows, diamonds) |
Wherever you see fx, it means conditional formatting: you can set the conditions under which formatting changes.
Two routes to conditional formatting
- Format pane > Visual > Cell elements, choose the series, switch on the element, click fx.
- Simpler: in the Build pane, click the dropdown next to the field (for example Total Profit) > Conditional formatting > choose the element.
Icon rules (Total Net Sales)
- Format style: Rules (alternatives include Field value and Gradient).
- Apply to: Values only (alternatives: totals only, values and totals).
- What field should we base this on: Total Net Sales. Icon layout: left of data.
- Default rules split the sorted values into thirds: bottom 33% red diamond, middle triangle, top 33% green. These were changed to traffic-light circles.
- In companies, rules usually use targets: above target green, near target amber, below target red.
Data bars (Total Profit)
- Positive bars green, negative bars red, picked up from the theme's sentiment colours.
- The dark green made numbers hard to read, so the positive bar colour was changed to a lighter green for this visual only. A change made in a visual does not alter the theme.
Font colour rule (Profitability)
- Format style: Rules, based on Profitability.
- Rule: if value is greater than or equal to Minimum and less than 0 (Number), then red. Deleting the lower bound makes Power BI fill in the minimum, which is what you want because the lowest profitability is negative.
- Profitability is stored as a number (formatted as %), so the threshold is a number: 0 for losses, 0.10 for a 10% minimum-profitability policy.
- If the company says anything below 10% profitability is unacceptable, the rule becomes "minimum up to less than 10% = red", and more rows turn red. Rules depend on context and user requirements.
Common trap: formatting every column (icons, data bars and red font at once) overwhelms users. Usually one column matters most (finance may care only about profit), so format that column so it stands out. The course formats three columns only to demonstrate the options.
Sparklines (small trend lines per row, showing for instance whether Tables were loss-making in earlier periods too) are added in the next module.
3.8 Pie and Donut Charts, and Interactions
3.8.1 When to Use Them
Pie and donut charts show who contributes to a total and work well as long as there are only a handful of slices. Superstore has 4 regions and 3 segments, so both suit a donut.
3.8.2 Building the Region Donut
Steps
- Click empty canvas, then click Pie chart.
- Values: Total Net Sales. Legend: Region (Customer Lookup). Whatever goes in Legend determines the slices.
- With the visual selected, click Donut chart: Power BI swaps the visual type keeping the same data. (Clicking a bar chart icon would swap it to bars, and so on.)
Why donut over pie: the donut shows the total in the centre (2.2 million); a pie does not.
Formatting steps
- Format > Visual > Legend: off. Mapping colours to a legend is hard for users and wastes space.
- Detail labels > Label contents: All detail labels, so each slice shows region, absolute net sales and % contribution.
- General > Title: text Net sales by region, size about 22, centred.
- General > Title > Subtitle: off (it repeated the title).
Reading the region donut: West contributes almost a third (736.77K, 33.49%), East about 26–27%, and South is the smallest region.
3.8.3 The Segment Donut
Copy the formatted donut (Ctrl+C, Ctrl+V), remove Region from Legend and drag in Segment (Customer Lookup). Edit the title to Net sales by segment.
| Segment | Share of net sales |
|---|---|
| Consumer | About 50% (about 1,104K) |
| Corporate | About 30% |
| Home Office | About 19% |
Totals match the region donut: 2.2 million.
Exam tip: format one visual fully, then copy and paste it to create similar visuals. Only the fields and title need changing.
3.8.4 Tooltips
Hovering over a slice shows a tooltip with the fields used in the chart (for example "Region: West, Total Net Sales: 736K, 33.49%"). Tooltip text size is set in the theme (Visuals > Tooltip, 10 pt here).
3.8.5 Interactions
General principle: in Power BI, any selection in any visual affects all other visuals on the page, by default. This effect of one visual on another is called an interaction.
Selecting West on the region donut:
- The donut centre changes from 2.2 million to 736.77K.
- The table now shows sub-category metrics for West only, totalling about 737K.
- The segment donut highlights West's part of each segment.
Steps: edit interactions
- Select the source visual (the one whose selection drives the others).
- Format > Edit interactions. Small icons appear on every other visual.
- On each target visual choose the interaction.
| Interaction | Effect on target | Default for |
|---|---|---|
| Filter | Target is recalculated for the selection only; its whole total becomes the selection | Tables (and slicer effects on KPI cards) |
| Highlight | Target keeps the full total and highlights the part contributed by the selection | Charts such as the donut |
| None | Selection has no effect on the target | Not a default; set when a visual must stay fixed |
Worked example: highlight vs filter on the segment donut
West is 736.77K of about 2.2 million, a 33.49% share. With Highlight, the segment donut still represents all 2.2 million, so West's three highlighted slices read (largest to smallest) roughly 19%, 8.8% and a little over 5% of the grand total. Their percentages add up to West's 33.49%, and their absolute values add up to 736.77K.
With Filter, the whole donut becomes West's 736.77K, so each slice is restated as a share of West and the slices add to 100%.
Answer: under Filter the three slices read about 58%, 26% and 15% (adding to 100% of West). Under Highlight they read roughly 19%, 8.8% and just over 5% (adding to 33.49% of the company). Same data, two different questions.
Other interaction behaviours
- Selecting a table row (for example Chairs, or Storage, whose net sales are 222.73K) filters or highlights the donuts to show which regions and segments that sub-category comes from.
- Selecting the Consumer slice changes the table total to about 1,104K.
- Ctrl + click selects multiple slices (Consumer and Corporate together, for example).
- Click white space to clear the selection and return to the original view.
Memory hook: Filter answers "what does West look like on its own?" Highlight answers "how much of the whole is West?"
Interactions give users great flexibility (select Phones and every chart on the page turns into Phones numbers), but how much interaction to allow is the designer's decision, based on user and design requirements.
3.9 Column and Bar Charts
3.9.1 Why Prefer Them
Column and bar charts are the best way to compare numbers across categories, because our eyes compare lengths far more accurately than angles. That is why they are often preferred over pie charts.
3.9.2 Column Chart: Net Sales by Category
Steps
- Add a new page, name it Column.
- Click Clustered column chart.
- X-axis: Category (Product Lookup). Y-axis: Total Net Sales.
Result: Technology has the highest net sales; Furniture and Office Supplies are close.
Formatting steps
- Visual > Data labels: on. Without labels, the reader must trace to the axis or hover, and hovering is impossible when the chart is pasted into PowerPoint. Best practice: add data labels to column and bar charts.
- Visual > Y-axis > Values: off. With data labels the Y-axis is redundant, and the chart looks cleaner.
- Visual > X-axis: font about 14 pt.
- Visual > Columns: change bar colour if wanted (kept blue); Layout > Space between categories controls bar thickness (less space, thicker bars; more space, thinner bars).
- General > Title: Net sales by category, size 20, centred; Subtitle off.
3.9.3 Bar Chart: Net Sales by Sub-Category
Copy the column chart (keeping its formatting) and replace Category with Sub-Category. Problems appear: column charts sort by the main measure by default, labels tilt to fit, and long names (Appliances, Accessories) are hard to read.
Exam tip: column charts work when there are about 4 to 5 bars. With more categories, switch to a horizontal bar chart, which gives long labels room to be read.
Steps
- With the chart selected, click Clustered bar chart to swap it. Increase the height so every label is readable. Data labels and axis formatting carry over from the copy.
- General > Title: Net sales by subcategory.
- Build > Tooltips: drag in Profitability. Hovering now shows sub-category, net sales and profitability. Any field can be added to tooltips.
3.9.4 Highlighting Loss-Makers with Conditional Colour
Steps
- Format > Visual > Bars > Color, click fx.
- Format style: Rules; What field should we base this on: Profitability. (Any measure in the model can be used, whether or not it is on the chart; it was already present via the tooltip.)
- Rule: is greater than or equal to Minimum (leave blank) and less than 0 (Number), then a deep red (via More colors).
- The default colour (blue) stays for every other bar. To make other bars green, add another rule.
Result: three red bars, Tables, Bookcases and Supplies.
Explaining the colour: users must be told what red means. Options: the subtitle, a text box (later), or a help tooltip. Here: General > Title > Subtitle on, text Red bars indicate losses, about 13 pt, italics, centred.
Working with both charts: because of default interactions, selecting Technology in the category column chart highlights the technology sub-category bars; selecting Furniture shows two loss-makers (Tables, Bookcases) and two profitable ones (Chairs, Furnishings). Click white space to reset.
3.10 Hierarchies in Charts: Drill Down and Drill Up
3.10.1 Rolling Three Charts into One
The sub-category chart answers "which sub-categories lose money?" A manager's next question is which products cause the losses: are all tables losing money or only some? A separate chart per level wastes space. A hierarchy rolls category, sub-category and product into one chart that the user can drill into.
Steps
- Create Category Hierarchy in Product Lookup: Category, then Add to hierarchy Sub-Category, then Product Name (see 3.4.2).
- Select the bar chart, remove Sub-Category from the Y-axis, and drag in Category Hierarchy. The chart shows the top level (Category), and drill icons appear above the visual.
3.10.2 Ways to Drill
| Method | How it works | Example in Superstore |
|---|---|---|
| Tooltip drill | Hover a bar; the tooltip offers Drill down or Drill up for that bar | Furniture > Tables > individual tables: the top five or six tables lose money, a few are fine. At the lowest level only Drill up is offered |
| Drill mode on (single down arrow) | Turns on "Click a data point to drill"; clicking a bar goes down one level for that bar only | Technology > Phones: almost all phones profitable except one product |
| Go to the next level in the hierarchy (double arrow) | All bars move to the next level together, aggregated across the parent | Category > all sub-categories > all products across every category |
| Expand all down one level (forked arrow) | Moves down a level but keeps the parent label, so each bar shows parent and child | Chairs shown with Furniture beside it |
| Drill up (up arrow) | Returns one level up | Products > Sub-Category > Category |
Grouping sub-categories by category: after expanding with the forked arrow, bars are still sorted by net sales, which scatters each category's sub-categories. Fix: three dots (More options) > Sort axis (Sort by) > Category. Technology, Office Supplies and Furniture now appear as groups, with sub-category performance inside each.
Clean-up
- Delete the now redundant column chart: one hierarchy chart lets users investigate category, sub-category and product levels.
- Title changed to a generic Product Performance: Net sales; keep the subtitle Red bars indicate losses.
Saved drill state: Power BI remembers the level a chart is at when the file is saved and reopens it there. Organisations leave the most frequently used view showing; users drill up or down when they want to investigate.
3.11 Notes for Users: Subtitle, Help Tooltip, Text Box
New users will not know what a colour means or that a chart can be drilled. Add notes.
| Method | Visibility | Best for |
|---|---|---|
| Subtitle | Always visible | Short notes such as what a colour means |
| Help tooltip | A small question mark on the visual header, read on hover or click | Longer instructions that would clutter a subtitle: how to drill, last data refresh, known data issues, new functionality |
| Text box | On the page | Covered in later modules |
Steps: add a help tooltip
- Select the chart. Format > General > Header icons.
- Colors controls icon colours; Icons lists every header icon (drill up, drill down, and so on). Turn icons off if you want users to drill only via the tooltip; leave them on if you will teach users to use them.
- Turn on Help tooltip and enter the text, for example: "Red bars show losses. You can use the tooltip to drill down or up into specific bars." More detail, such as the three drill modes, can be added.
- Hover over the visual: the ? appears and shows the text.
3.12 Line Charts and the Format Painter
3.12.1 Building a Trend Line
Bar charts compare categories. To see how something changes over time, use a line chart.
Steps
- New page named Line. Click Line chart (second row of the gallery).
- X-axis: Order Date (already a Year > Quarter > Month > Day hierarchy). Y-axis: Total Net Sales.
Result: a slight dip from 2015 to 2016, then growth.
3.12.2 The Format Painter
Rather than reformatting title and fonts, copy formatting from an already formatted visual.
Steps
- Select the formatted visual (the product performance bar chart).
- Home > Format painter. The cursor becomes a brush.
- Click the target visual. Title and other formatting are copied.
The Format Painter keeps formatting consistent across visuals.
Common trap: the Format Painter copies everything, including conditional formatting and help-tooltip text. The bar chart's "profitability below zero = red" rule later appeared as red dots on a line chart, and the help text still talked about bars. Always check and edit what was carried over.
3.12.3 Formatting the Line Chart
- Visual > Data labels: off (data labels came across from the bar chart).
- Visual > Y-axis > Values: on, font about 12 pt.
- Visual > Lines > Interpolation type: change Smooth to Linear, so the line is drawn point to point and looks more jagged but honest.
- Visual > Markers: on, so users see each data point (four points, one per year).
3.12.4 Adding a Legend: Net Sales by Category
Drag Category into Legend. Three lines appear:
| Category | Pattern 2015–2018 |
|---|---|
| Furniture | Steady growth |
| Office Supplies | Dipped a little, then rose substantially |
| Technology | Dropped in 2016, then accelerated rapidly, overtaking the other two |
Reading: the overall 2015 to 2016 dip was caused by Office Supplies and Technology, not Furniture, and Technology shows the most rapid change.
3.13 Drilling Down on Dates
3.13.1 Static Chart vs Drill Chart
The category line chart shows which category drove the change, but not when within the year the dip happened.
- To make the category chart static, remove Quarter, Month and Day from its X-axis and keep only Year. The drill icons vanish.
- For drilling, create a new page Drill Down Line: line chart, Order Date hierarchy on X-axis, Total Net Sales on Y-axis, formatting copied with the Format Painter from the Line chart (to get Y-axis labels).
3.13.2 Drill Modes on a Date Hierarchy
| Mode | What it shows on dates | Useful? |
|---|---|---|
| Drill mode on, click a point | Goes into that year only: 2015 shows its quarters (sales rose within 2015); 2016 shows all four quarters rising. Drill 2017 > Q2 > April, May, June; click May > daily values | Yes: investigates one period in depth |
| Expand all down one level (forked) | A continuous timeline: Q1 2015, Q2 2015 ... Q4 2018. Shows the overall upward trend and where the drop between 2015 and 2016 sits. Next level gives monthly points; one more gives a very dense daily view | Yes at quarter and month levels; daily is too dense |
| Go to next level (double arrow) | Shows only Q1, Q2, Q3, Q4, each summed across all years | Not useful for dates: you want year by quarter, not "Q1 of every year added together" |
Common trap: on a date hierarchy, the double-arrow "go to next level" aggregates the same quarter across different years. It answers a question nobody asked.
Red dots: the profitability-below-zero rule copied by the Format Painter shows loss-making periods as red dots, which is useful. Update the help tooltip: Format > General > Header icons > Help tooltip text, changed to "Red dots show losses. You can use the tooltip to drill down or up into specific points."
Dynamic subtitle: the auto-generated title changes with the level, for example Total net sales by Year, Quarter and Month, then by Year and Quarter, then by Year as you drill up.
3.13.3 Trend Charts for Profit and Profitability
Copy the drill line chart twice (Ctrl+C, Ctrl+V). In the second, replace Total Net Sales with Total Profit on the Y-axis; in the third, use Profitability. Now each KPI has its own trend chart.
3.13.4 Responsive Visuals
Shrinking a chart made the axis text smaller and smaller. Power BI visuals are responsive by default: label sizes shrink in proportion to the visual.
Steps: keep fixed font sizes
- Select the visual (hold Shift to select several).
- Format > General > Properties > Advanced options.
- Turn Responsive off. The 12 pt labels return.
3.14 KPI Cards
3.14.1 Purpose
Every report must answer at a glance: How is the business doing? KPI cards are big, simple numbers given a prominent place. Under visual hierarchy (Module 2), KPIs sit at the top or at the left, where the eye lands first.
3.14.2 Building the Cards
Power BI has several card visuals. Use the newest and most functional one, Card, whose icon shows 1, 2, 3 with a lightning bolt.
Steps
- Click Card and resize.
- Add to Values: Total Net Sales, Total Profit, Profitability. One visual creates three KPI cards at once.
3.14.3 Formatting: Layout vs Individual Cards
| Format section | Setting | Effect |
|---|---|---|
| Multi-card layout > Layout style | Tiles or Table | Tiles keep space between cards; Table removes it |
| Multi-card layout > Arrangement | Horizontal (default) or Vertical | Horizontal suits KPIs across the top; vertical suits KPIs down the left with detailed visuals to the right |
| Multi-card layout > Gap | Default 8 | Space between cards |
| Multi-card layout > Background | Colour | Changes the overall background behind all cards |
| Cards > Apply settings to | All or a specific card | Formats every card the same, or one card differently |
| Cards > Background | Colour | Changes each card's own background |
| Cards > Border | On by default | Card outline |
| Cards > Accent bar | Colour (blue), width, position (left or top) | A coloured strip that makes cards look polished |
| Cards > Shadow | On, size increased | Lifts the card slightly off the page |
| Callout values | Size, colour, conditional formatting | The big number itself |
| Labels | Size | The caption under the number |
Common trap: the multi-card layout background and the card background are different settings. Layout background colours the space around and between the cards; card background colours inside each card.
Conditional colour on Profitability: set Apply settings to: Profitability, then Callout value > Color > fx > Rules: greater than or equal to Minimum and less than 0, deep red. At the company level it shows black, but if a user selects Tables, profitability turns red.
Apply-to gotcha: when label size was increased with settings applied only to Profitability, only that card changed. Switching to All and increasing to 16 changed the others, but Profitability kept its own override until set again on that card.
Reading the cards: 2.2 million net sales, 273K profit, 12.4% average profitability.
3.15 Slicers
3.15.1 Purpose
Different users want different views: a West regional manager wants West only; managers want date ranges such as Q1 or Q2. A slicer is the on-page control for user selection, and the selection is visible to the user at all times. Slicers let users customise their view.
3.15.2 Region Slicer
Steps
- Click Slicer (the funnel icon) and resize.
- Field: Region (Customer Lookup). A slicer takes one field: the field to slice by.
- Selecting a region changes all visuals on the page, by default. To stop a slicer affecting a visual, use Format > Edit interactions and choose None (or Filter to keep it).
Formatting steps
- Visual > Slicer settings > Options > Style: Vertical list (default), Tile or Dropdown. A vertical list takes too much space on a busy page; choose Dropdown.
- Slicer settings > Selection: Single select off (multi-select allowed with Ctrl + click); turn on Show "Select all" option.
- General > Effects > Background: on, so the slicer does not blend into the grey page.
- Visual > Slicer header > Text: Select Region, in italics, so users know it is for them.
- General > Effects > Visual border: on.
3.15.3 Date Range Slicer
Steps
- Copy the formatted region slicer; replace the field with Order Date.
- Slicer settings > Options > Style: choose Between. Other date styles: Before, After, Relative date, Dropdown/list. Users are used to "between this date and that date" on a calendar, as in travel or hotel booking.
- Widen it so both dates fit on one row. A slider also lets users narrow the range.
- Slicer header text: Select Date range. The 18 pt header still looked small because the visual was responsive: General > Properties > Advanced options > Responsive off.
Interactions between slicers: the date slicer should not filter the region slicer's options, and vice versa: Edit interactions set to None between the two slicers, Filter on the KPI cards.
Example: Central region between 1/3/2015 and 4/30/2017 changes the KPIs accordingly; Select all with the full date range restores 2.2 million. Multiple regions can be picked with Ctrl + click.
Exam tip: a slicer is a visual, so it obeys Edit interactions like any other visual. Slicers appear in almost every report you will design.
3.16 Scatter Plots
3.16.1 Purpose
A scatter answers a different question from every other chart so far: the relationship between two measures. Do they move together? Here: do sales and profitability go together across sub-categories, and what is the effect of discounting?
3.16.2 Building It
Steps
- New page Scatter; click Scatter chart (the dots icon).
- X-axis: Total Net Sales. Y-axis: Profitability. Values: Sub-Category (each dot is one sub-category).
- Legend: Category, so dots are coloured by category.
- Size: Total Discount. It did not exist yet, so create it: three dots next to the Discount field > New measure >
Total Discount = SUM(Orders_Products[Discount]). - Format > Visual > Category label: on, so sub-category names show without hovering (essential for PowerPoint).
The chart now encodes four variables per dot:
| Encoding | Variable |
|---|---|
| X position | Net sales |
| Y position | Profitability |
| Colour | Category |
| Bubble size | Total discount |
3.16.3 Reading the Scatter
- Overall: no clear relationship between net sales and profitability; at low sales some sub-categories lose money and some make large profits.
- Why add the legend: an overall chart may show no pattern while segments do.
| Category or sub-category | Pattern |
|---|---|
| Office Supplies (general) | Clustered at lower net sales, little discount, mostly highly profitable |
| Binders | Sells a lot and gets heavy discounts, yet still more profitable than the loss-making furniture items |
| Technology (general) | Mid to high net sales only; profitability higher in the mid sales range |
| Phones | High net sales, only medium discounting |
| Machines | Low net sales, very heavy discount, profitability only 2.32%, borderline |
| Copiers | Mid sales, discount slightly higher than Accessories, profitability still high |
| Furniture | Mixed; Bookcases and Tables (the lowest point, −8.56%) are loss-making |
| Loss region | Tables, Bookcases, Supplies |
3.16.4 Formatting the Scatter
- Format painter from the line chart (it has X-axis, Y-axis and title formatting). Axis titles still need work.
- X-axis > Title: size 18; Y-axis > Title: size 18.
- Y-axis > Range: change Minimum and Maximum from Auto so dots are not crammed against the axis. Tables sits at −8.56%, so set minimum −0.2 (−20%) and maximum 0.7 (70%; the data reaches about 40%). Percentages are entered as decimals. Adjust until the extremes sit comfortably.
3.16.5 The Analytics Pane: Reference Lines
The third pane, Add further analyses to your visual, adds reference lines.
Steps
- Y-axis constant line > Add line. It defaults to 0, which marks the profit/loss boundary.
- Color: red.
- Shade area: on, matching the line colour, to shade the loss region.
- Shading tinted the bubbles, so raise Transparency (about 85%).
For a target line, set the value to the target, for example 0.2 for a 20% profitability target.
Result: Tables, Bookcases and Supplies sit in the shaded loss region; Machines (2.3%) is just above it.
Common trap: bubble size here is absolute discount. High-sales sub-categories receive large discount amounts even at a small discount percentage, and low-sales sub-categories show small bubbles even if heavily discounted. The better measure for this question is discount % (Discount_PCT), to be used in the next module's dashboard.
3.17 Assembling the Report Page
3.17.1 How Reports Are Really Built
From the design you know which charts are needed: reuse what exists, create what does not, then assemble. The page here, Performance Overview, uses the KPI cards, the three trend charts, the product performance bar chart, and three slicers (date range, region, segment). The aim is to learn assembly; a fuller dashboard comes in the next module.
3.17.2 Steps
- Add a page and double-click to rename it Report.
- View > Gridlines and View > Snap to grid on, to line things up.
- Insert > Text box (Insert also offers images such as a logo). Type Performance Overview, size 32 to 36, bold.
- To move a text box while editing it, drag by the three dots handle (clicking inside only edits the text). Place it top left.
- From the KPI page, Ctrl+C the KPI cards, Ctrl+V on Report, and align to the gridlines.
- From Drill Down Line, copy the three trend charts. Resize each individually and place it beside its own KPI card, so each trend belongs to a KPI.
- Rename the old Column page to Bar Chart (it now holds the bar chart) and copy the product performance chart in; resize.
- Copy the date range and region slicers from the KPI page. On paste, Power BI asks whether to sync the visuals: choose Sync.
- Copy a slicer again and change its field to Segment; change its Slicer header to Select Segment. (Select the visual first; otherwise the format pane shows Canvas settings instead of Visual and General.)
- Select the trend charts with Shift and use Format > Align > Align left; select the KPI block and product chart and use Align top. These work like PowerPoint's alignment tools; multiple selected visuals can be moved together.
- Leave the trend charts at year level; users can drill to quarter if they want.
To fit more charts (for instance the region and segment donuts), shrink the trend and bar charts.
3.17.3 Synced Slicers
After syncing, selecting East on the Report page changed the numbers everywhere to 589.77K, and the same selection appeared on the KPI page. Choosing Select all on the KPI page restored 2.2 million on the Report page as well.
| Choice | Effect | When |
|---|---|---|
| Sync | Selection is persistent across every page carrying that slicer | Most companies prefer this |
| Don't sync | Each page's slicer works independently | When each page needs its own selection |
Final layout and placement are a judgement call: keep users in mind and use a designer's input where one is available.
3.18 Designer Tools: Filters, Sync Slicers, Selection, Grouping
3.18.1 Designer Choices vs User Choices
Microsoft calls the designer the report author; you will see that term in Power BI help pages.
| Users choose by... | Designers control with... |
|---|---|
| Slicers | Filters pane (visual, page, all pages), with lock and hide |
| Clicking a visual to cross-filter (West on the donut) | Edit interactions |
| Drilling into a hierarchy (loss-making products) | Sync slicers pane |
| Hovering tooltips and help tooltips | Selection pane, Group, Align |
3.18.2 The Filters Pane
Open the Filters pane (close Data and Visualizations to make room). With a visual selected it shows three levels:
| Level | Scope | Superstore use |
|---|---|---|
| Filters on this visual | One visual | Top N on Sub-Category: show top 5 by Total Net Sales; then retitle as "Top 5 subcategories". Same idea for top 8 or top 10 products |
| Filters on this page | Every visual on the page | Region is West: numbers drop from 2.2 million to West's figures |
| Filters on all pages | The whole report | Region = West applied to every page |
Steps: Top N visual filter
- Select the product performance chart.
- Under Filters on this visual, drag in Sub-Category; change Filter type from Basic filtering to Top N.
- Show items: Top 5; By value: Total Net Sales; Apply filter.
- Use the clear filter (eraser) icon to remove it.
Lock and hide: a designer can lock a filter (no user can change it) or hide it (it does not appear at all). This protects the design when the .pbix file is shared with colleagues and keeps data secure.
Regional reports without a slicer: to send each region only its own numbers, remove the Select Region slicer, add Region = West as a page (or all-pages) filter, title the page Western Region Performance Overview, and send it to the West team. Repeat per region. Users cannot see other regions because the choice was never given to them.
Exam tip: a slicer gives the choice to the user; the filters pane keeps the choice with the designer. Lock or hide the filter so it cannot be undone.
3.18.3 The Sync Slicers Pane
View > Sync slicers opens a pane: "Select a slicer in one of your report pages to start syncing it." Select Select Region; the pane lists every page (KPI, Report and so on) with two controls:
| Control | Effect |
|---|---|
| Visible (eye) | Whether the slicer appears on that page; untick and it vanishes from the page |
| Sync | Whether the selection on that page is synced with the others |
Use it to review and change syncing behaviour across a multi-page report, even after choosing Sync at paste time. Click Sync slicers again to close the pane.
3.18.4 The Selection Pane
View > Selection lists every element on the page by its default name ("Slicer", "Slicer", "Slicer"), which tells you nothing.
Steps
- Click an element in the list to see which visual it is.
- Double-click to rename: Segment slicer, Date range slicer, Region slicer, Bar chart, Header (the Performance Overview text box). Leave clear names such as the profitability trend and KPI cards.
- Use the eye icon to hide or show an element.
Why it matters:
- As reports grow, many boxes, slicers and charts pile up; renamed elements can be found instantly instead of clicking each one.
- Hide while designing: if a logo or background element sits behind a visual, hide the front element, edit the back one, then show it again.
- Hide before sharing: to share a report without the bar chart's detail, hide it.
3.18.5 Grouping
Format > Group > Group joins elements that belong together (the KPI cards and their trend charts) so they move as one while you design. Format > Group > Ungroup separates them. This works like grouping in PowerPoint.
Save with File > Save. Keep this file; it is reused in the next module.
3.18.6 What You Can Now Do
| Area | Skills |
|---|---|
| Bring data together | Load four files, clean in Power Query, connect in a data model |
| Calculate | Measures in DAX |
| Build visuals | Tables, donuts, column and bar charts, line charts, KPI cards, scatter plots |
| Format | Format pane, conditional formatting for key numbers, a theme for consistent colours and fonts |
| Assemble and manage | Reuse visuals; Format Painter; select multiple visuals, align, distribute, group; name, show and hide in the Selection pane |
| Design controls | Edit interactions; filter a visual, page or whole report; lock or hide filters |
| User controls | Slicers, click-to-filter, drill-down, tooltips and help tooltips |
3.19 Additional Charts
Power BI's gallery holds many more visuals, each answering a different business question.
| Chart | Business question | Build fields |
|---|---|---|
| Matrix | How does a measure vary across two dimensions at once (cross-tabulation)? | Rows, Columns, Values |
| Combo (Line and stacked column) | How do an amount and a rate move together? | X-axis, Column y-axis, Line y-axis |
| Waterfall | What pushed a total up or pulled it down, step by step? | Category, Breakdown, Y-axis |
| Stacked area | How do the total and its mix change over time? | X-axis, Y-axis, Legend |
| 100% stacked area | How does the mix alone change over time? | X-axis, Y-axis, Legend |
3.19.1 Matrix
A table lists one thing per row; a matrix crosses two things, rows against columns, with totals both ways.
Steps
- Click Matrix (next to Table).
- Rows: Category Hierarchy (allows drill-down). Columns: Region. Values: Profitability.
- Click + next to Furniture (or use drill controls) to expand into sub-categories.
- Profitability dropdown > Conditional formatting > Font color > Rules: Minimum to less than 0 Number, red.
- Totals were not coloured: in the same dialog change Apply to from Values only to Values and totals.
Readings
| Finding | Detail |
|---|---|
| Furniture overall | 2.33% profitability; South slightly better |
| Technology overall | 17.66%, the highest, but South only 6.27% |
| Bookcases | Loss-making, except Central, which is just above breakeven (borderline) |
| Tables | Loss-making across every region; South and especially West are relatively less bad |
Bold, row subtotals and column subtotals are all controlled in the format pane.
3.19.2 Combo Chart
An amount (sales) and a rate (profitability) sit on very different scales. A combo chart shows one as columns and the other as a line, each with its own axis.
Steps
- New page Combo; click Line and stacked column chart.
- X-axis: Order Date. Column y-axis: Total Net Sales. Line y-axis: Profitability.
- Drill to quarters for a richer view (the same drill controls apply).
- Format > Y-axis > Title: on; Secondary y-axis > Title: on (it was already on).
Reading: net sales rise in every period (as the line chart showed), but profitability swings a lot. In Q4 2018 there is a huge sales bar while profitability dips, raising the question: did we buy these sales with too much discounting?
Common trap: two axes mean two scales. Always add both axis titles so readers know the columns follow the left axis (net sales) and the line follows the right axis (profitability).
3.19.3 Waterfall Chart
A waterfall shows how a total moves from one point to another step by step: what pushed it up and what pulled it down. It is very common in finance.
Steps
- Click Waterfall chart (third row).
- Y-axis: Total Net Sales. Category: Order Date, keeping Year only (remove Quarter, Month, Day). Breakdown: Category.
Green steps push the total up; red steps pull it down.
| Period | Furniture | Office Supplies | Technology | Net effect |
|---|---|---|---|---|
| 2015 to 2016 | Up | Down | Down | Sales fell slightly (the dip in the line chart) |
| 2016 to 2017 | Up | Up | Up, a large jump | Growth |
| 2017 to 2018 | Up, very small | Up, largest part of the increase | Up | Growth |
Common trap: the waterfall axis started at 400K, not zero. That is acceptable for reading relative contributions, but a big bar does not by itself mean a big change: read the axis to judge the real size of each step.
3.19.4 Stacked Area and 100% Stacked Area
Comparing two donuts (segment mix this year vs next year) is hard. A stacked area chart shows how a total and the mix inside it change over time in one view.
Steps
- New page Area Chart; click Stacked area chart.
- X-axis: Order Date (Year only). Y-axis: Total Net Sales. Legend: Segment.
- Swap to 100% stacked area chart to see composition only.
| View | Shows | What Superstore showed |
|---|---|---|
| Stacked area | Absolute totals and composition together | Consumer always dominant, and its band looks to be growing; Home Office small but up a little recently |
| 100% stacked area | Composition only (each year sums to 100%) | Clearer: Consumer's share is actually coming down, Corporate takes over part of that space, Home Office reasonably stable |
Exam tip: the stacked area view is harder to interpret because the total and the mix change at the same time, so a growing band can hide a falling share. When the question is about share, use the 100% version.
3.20 Quick Reference: Which Visual for Which Question
| Business question | Visual | Key setting |
|---|---|---|
| Detail by item with key numbers flagged | Table | Specific column formatting, cell elements, conditional formatting on one key column |
| Who contributes to the total (few parts) | Donut | Legend off, all detail labels, total in centre |
| Compare 4 to 5 categories | Column chart | Data labels on, Y-axis values off |
| Compare many categories, long names | Bar chart | Conditional bar colour, subtitle explaining colour |
| Investigate category > sub-category > product | Bar chart with hierarchy | Drill modes, sort axis by category, help tooltip |
| Change over time | Line chart | Linear interpolation, markers, date hierarchy drill |
| How are we doing at a glance | KPI cards | Tiles layout, accent bar, callout conditional colour |
| Let users choose region or dates | Slicer | Dropdown or Between style, header text, sync |
| Do two measures move together | Scatter | X, Y, Values, Legend, Size, constant line and shaded loss area |
| A measure across two dimensions | Matrix | Rows, Columns, Values; formatting for values and totals |
| Amount and rate together | Combo | Both axis titles on |
| What drove the change between periods | Waterfall | Category (year), Breakdown |
| Mix over time | Stacked area / 100% stacked area | Legend = segment |
Reflection question: take one visual you built in this module. Who is its user, what single question does it answer, and which formatting choices (labels, colour rules, notes) make that answer visible within a few seconds?