Skip to content

Create Power BI Reports

Step 15 of 24

Create Power BI reports: visuals, filters, and calculations

Introduction

To create a Power BI report for the PL-300 exam, start with the decision the reader needs to make. A sales manager might need to see whether revenue reached its target, how it changed over two years, and which regions contributed most. Each question calls for a different visual, and the filters must make the result easy to interpret.

This lesson covers the Create reports objectives in Visualize and analyze the data (25–30% of the April 20, 2026 PL-300 outline). You will choose and format visuals, configure slicers and filters, create a visual calculation, and decide when to use a paginated report or Analyze in Excel. You will also see how authors use Copilot to create report pages and narratives.

Learning objectives

  • Match an analytical task (comparison, trend, composition, distribution, relationship, ranking, single value, detail) to a visual.
  • Configure axes, labels, legends, tooltips, titles and page settings.
  • Import and edit a theme (JSON) and use custom visuals from AppSource.
  • Apply conditional formatting to backgrounds, fonts, data bars, icons and web URLs.
  • Use slicers and the filter pane (visual, page, report-level filters) and understand filter types.
  • Explain when a paginated report is the right choice and what Report Builder offers.
  • Create visual calculations and describe what the Copilot narrative visual and report-page creation do.

1. Choosing the right visual

Start from the question, not from the visual.

Analytical task Good visuals Avoid
Compare categories Clustered bar/column, bar with data labels Pie with many slices
Trend over time Line chart, area chart Unordered bar chart for a time series
Part-to-whole Stacked bar/column, treemap, donut/pie with ≤ 5 slices, 100% stacked 3D charts
Ranking Sorted bar chart, top N filter Unsorted columns
Distribution / outliers Histogram built with binning, box-plot custom visual, scatter Table of raw numbers
Relationship between two measures Scatter (bubble) chart Line chart across unrelated categories
Flow / path Sankey (custom), decomposition tree Table
Bridge / change Waterfall Stacked columns
Progress to target Gauge, KPI, bullet chart Table
Single important number Card, multi-row card, KPI Chart with one bar
Detail records / exact values Table, matrix Pie
Geography Map, filled map, Azure map, shape map Table of countries
Combined scale (revenue and margin %) Line and clustered column chart (dual axis) Two charts with different axes side by side

Built-in visual families: bar/column, line/area, ribbon, waterfall, funnel, scatter, pie/donut, treemap, maps, gauge, card/KPI, table/matrix, slicer, decomposition tree, key influencers, Q&A, smart narrative, paginated report visual, and Python/R visuals.

Build visual gallery in the Visualizations pane of the Power BI service report editor

Design guidance that appears in exam scenarios: limit each page to the key message (fewer than about 8 visuals), place the most important visual top left, keep consistent colours (the same colour means the same thing everywhere), sort categorical bars by value, use titles that state the finding, and keep sufficient contrast.

Worked example: pick visuals for a sales manager

Scenario. A sales manager asks for a one-page report that shows (1) this month's revenue against a target of 1.2 M€, (2) monthly revenue for the last 24 months, (3) the five best-performing regions, and (4) revenue share of each product category.

Step 1 – (1) progress to target: use a gauge with revenue and target values filtered to the current month. Use a KPI instead if the manager also needs the trend: give it an ordered date axis, a revenue indicator, and a target, and check that the latest point is the intended month.

Step 2 – (2) trend: use a line chart with DimDate[MonthStart] on the X-axis and revenue on the Y-axis. Filter to the last 24 months. A month name alone would group the same month from different years.

Step 3 – (3) ranking: a bar chart with Region on the axis and Revenue as values, filtered with Top N = 5 by Revenue in the filter pane, sorted descending.

Step 4 – (4) composition: a treemap or donut for category share (5–6 categories). A stacked bar would also work if comparing over time.

Why the other choices are worse. A gauge for the trend hides history. A pie for the region ranking makes comparisons by angle hard. A table gives exact values but no visual pattern.

A small report page: a Year slicer with 2026 selected, a card showing Total Sales and a bar chart of sales by category sorted by value

2. Format and configure visuals

In the Visualizations pane, the Format tab (paint roller) controls a visual's appearance; the Build tab sets fields. Frequently tested options:

  • Axes: start value (a truncated axis exaggerates differences), scale type (log), continuous vs categorical X-axis for dates, concatenate labels.
  • Data labels, legends, tooltips, titles, subtitles, background, border, shadow, spacing.
  • Sort axis: by the measure or by a field; ascending or descending.
  • Small multiples: split one chart into a grid of charts by a field (for instance a line chart per region), keeping common scales.
  • Tooltips: the default shows the fields; add fields in Tooltips or use a report page tooltip (page designed as a tooltip, covered in the next lesson).
  • Alt text: description for accessibility.
  • Summarization: a numeric column dropped in a visual is summarized (sum, average, min, max, count, distinct count, median). Prefer reusable DAX measures and filter context when a business metric needs consistent aggregation across visuals.
  • Show items with no data: displays categories with no values.
  • Edit interactions and Sync slicers are covered in the next lesson.

Format visual pane of a bar chart: Y-axis, X-axis, Legend, Gridlines, Bars and Data labels turned on

Page configuration. In Format page: page size (16:9 default, 4:3, letter, tooltip, custom), page background and wallpaper, alignment, page information (name, allow use as tooltip, allow drillthrough), Automatic page refresh for supported DirectQuery sources (service settings and capacity affect available intervals). Use the View → Gridlines / Snap to grid and Align/Distribute commands for tidy layouts.

Custom visuals. AppSource provides visuals certified or not by Microsoft. Insert via … → Get more visuals; you can also import a .pbiviz file. Considerations: organizational policy may restrict them; certified visuals have passed Microsoft's certification tests and can support features such as report export and email subscriptions. Confirm the feature and tenant settings before relying on the output.

Themes. A theme is a JSON file that sets colours, fonts and default visual formatting for the whole report. Apply with View → Themes, customize via Customize current theme, and save the JSON to reuse across reports. Themes give reports consistent defaults. Existing per-visual overrides may need to be reset before the new defaults appear.

JSON
{
  "name": "Contoso",
  "dataColors": ["#1F4E79", "#2E86C1", "#F39C12", "#27AE60"],
  "background": "#FFFFFF",
  "foreground": "#252423",
  "tableAccent": "#1F4E79"
}

3. Conditional formatting

Conditional formatting changes the appearance of values based on data. In tables and matrices it can set background or font colour, data bars, icons, and links. For charts, look for the fx button on the property you want to format; supported settings vary by visual.

Three style options:

Style How it works Example
Gradient Colour scale between a minimum and maximum (optionally a centre) Heat map of sales by region
Rules Colour or icon by threshold Red below 80% of target, amber from 80% to under 100%, green at or above target
Field value Uses a colour (name, hex, RGB) returned by a measure or column A measure returns "#C0392B" for late orders

For a ratio stored as a decimal, use Number thresholds such as 0.8 and 1.0. The Percent setting instead places thresholds relative to the observed minimum and maximum. Check whether the selected format applies to totals as well as detail values. Icons can show arrows or traffic lights. Data bars display in-cell bars proportional to values. A web URL conditional format turns a field into a clickable link.

Field value is the most flexible: write a DAX measure with SWITCH ( TRUE (), ISBLANK ( [Margin %] ), BLANK (), [Margin %] < 0, "#C0392B", [Margin %] < 0.1, "#F39C12", "#27AE60" ), then pick it under Field value. This also allows colour logic reused across visuals.

Conditional formatting menu of a matrix value: Background color, Font color, Data bars, Icons and Web URL

Format style options: Gradient, Rules and Field value

Background color dialog with the Gradient style: lowest value in orange, highest value in blue, applied to values only

Matrix with the gradient applied to Total Sales: January lowest, April to June highest

4. Slicing and filtering

Slicers let users filter visually. Types: list, dropdown, tile/button, between (numeric range), relative date (last N days/weeks/months), relative time, hierarchy, and the date slicer with a timeline. Settings: single or multi-select, Select all, search box, orientation, Sync slicers across pages.

Slicer style options: Vertical list, Tile, Dropdown, Between, Less than or equal to, Greater than or equal to

Filter pane. Filters apply at three scopes:

  1. Visual-level filters affect one visual.
  2. Page-level filters affect all visuals on the page.
  3. Report-level filters affect all pages.

Filter types: Basic (select values), Advanced (conditions such as "contains" or "is greater than", with AND/OR), Top N (top or bottom N by a measure), Relative date/time. You can also add a drillthrough filter and hide or lock filters, or set them to be non-editable in reading view.

Visual-level filter on Category with the Top N type: top 3 by Total Sales

Bar chart after the Top N filter: only Equipment, Footwear and Apparel remain

Filter vs slicer: a slicer is visible and part of the design; a filter in the pane is applied by the author (or the reader opens the pane). Use filters to impose constraints (for example, exclude test data) and slicers for choices readers make.

Interactions. By default, selecting a data point in one visual cross-filters or cross-highlights the others. See report navigation and interactions for how to change the response of a specific visual.

Filter evaluation. Separate slicers and filter conditions generally intersect, subject to visual interactions and model relationships. Advanced filters can also use OR within a filter. A measure that uses ALL or REMOVEFILTERS may ignore a slicer, which is a classic cause of "the slicer does nothing" questions.

5. Analyze in Excel and paginated reports

Analyze in Excel lets Excel users connect to a Power BI semantic model published in the service and build PivotTables on it, using the model's measures and security. It is available from the semantic model's menu (or Export → Analyze in Excel) and requires Build permission on the semantic model or at least the Contributor role in its workspace, plus the applicable tenant and licensing settings. It keeps one governed model rather than exported copies.

Report ribbon in reading view with Analyze in Excel next to Explore and Embed in PowerPoint

Paginated reports are pixel-perfect, print-oriented reports where all rows are shown over as many pages as needed, with headers and footers repeating. They are authored in Power BI Report Builder (also a Desktop application) using datasets, parameters, tables, matrices, lists, charts, and expressions. They can be exported to PDF, Word, Excel, PowerPoint, and CSV. Publishing, sharing, and email delivery depend on the workspace, license, and permissions; check the requirements for the intended recipients.

Need Power BI report Paginated report
Interactive exploration, slicers, cross-filtering Yes Limited (parameters only)
Invoice, statement, certificate, legal form Poor Yes
Print every row of a large table across pages Poor Yes
Fixed layout with repeating headers/footers No Yes
Rapid ad hoc authoring Yes Slower, more technical
Data sources Semantic model, many connectors Semantic models and many relational sources

Rule of thumb for the exam: interactive analysis → Power BI report; formatted, printable, multi-page output with all rows → paginated report.

6. Visual calculations and Copilot features

A visual calculation is a DAX calculation defined on a visual, referencing data already in the visual, including measures, aggregated columns, and other visual calculations. It is created in the visual: New calculation on a supported visual (Desktop, edit mode). It produces results for that visual only and is not in the model, so it does not clutter the model or affect other visuals.

DAX
Running Total = RUNNINGSUM ( [Sales] )
Moving Avg 3 = MOVINGAVERAGE ( [Sales], 3 )
Share of Total = DIVIDE ( [Sales], COLLAPSEALL ( [Sales], ROWS ) )
Rank = RANK ( DENSE, ROWS )
Previous = PREVIOUS ( [Sales] )

Key points:

  • Functions work over the visual's axes (ROWS, COLUMNS) and have simplified syntax: RUNNINGSUM, MOVINGAVERAGE, PREVIOUS, NEXT, FIRST, LAST, RANK, COLLAPSE, EXPAND.
  • The calculation can be hidden from the visual output while being used by another.
  • Visual calculations cannot be used by other visuals. If several reports need the logic, create a measure.
  • Some visuals, such as paginated report visuals, do not support them.
  • Some features, including export of underlying data, have limitations for visuals with visual calculations. Check the supported behavior before choosing this approach.

Compare with the other ways of calculating:

Method Lives in Reusable Best for
Measure Model Everywhere Business metrics
Calculated column Model (stored) Everywhere Row attributes, slicer fields
Quick measure Model (generates a measure) Everywhere Fast templated DAX
Visual calculation One visual No Running totals, moving averages, ranks in one chart

Copilot in reports. With the required capacity, tenant settings, and permissions, an author can use Copilot to create or edit report pages from a semantic model. The Copilot narrative generates a summary of selected report content. When a filter changes the data, refresh the narrative where supported and check the new text against the visuals. The Custom Smart Narrative option uses report data and dynamic values without Copilot. Always check that an AI summary uses the intended filters and figures.

Worked example: running total with a visual calculation

Scenario. A matrix shows monthly sales for a single year, starting in January, with months ordered chronologically. The analyst wants a running total without adding a measure to the shared model.

Step 1. Select the matrix, choose New calculation and write Running Total = RUNNINGSUM ( [Total Sales] ).

Visual calculation formula: Running Total = RUNNINGSUM ( [Total Sales] )

Visual calculations editor: the Running Total column accumulates monthly sales down the rows of the matrix

Step 2. The default axis is ROWS, so accumulation goes down the rows. Because months are rows, the total accumulates across months. To restart the accumulation at each year, place Year as a higher level in the rows and use RUNNINGSUM ( [Total Sales], ROWS, , , HIGHESTPARENT ). Check the first visible month of each year. If a filter excludes earlier months, this is a running total of the visible months and may differ from a model year-to-date measure.

Step 3. Format as number. The calculation exists only in this matrix.

Why the alternatives are worse. A model measure with TOTALYTD is reusable but alters the shared model; a calculated column cannot respond to filters; exporting to Excel loses interactivity.

7. Pitfalls and exam tips

  • Pie/donut with many categories: use bars. 3D visuals: avoid.
  • Dual axes can mislead; prefer a combo chart only when the scales are unrelated and clearly labelled.
  • Field value conditional formatting needs a measure or column returning a valid colour string.
  • Slicer ignored? Check relationships, interactions, and ALL in the measure.
  • Printable pixel-perfect report with every row: paginated report, not a table visual.
  • Visual calculations are per visual; measures are shared.
  • Themes are the way to apply a corporate style to every visual at once.
  • Exam tip: read what the stakeholder wants to do (compare, track, rank, print) before picking a visual.

8. Mini case study

Situation. Adventure Foods needs (a) an executive page where regions with margin below 10% are red, 10–15% amber and above 15% green across a matrix and a bar chart; (b) a monthly store statement of 30 pages with every transaction, a header with the store logo, printable as PDF and emailed automatically; (c) a ranking of the top 10 products with a running share of total; (d) all reports in the corporate palette.

Question. Which features do you use?

Solution, commented.

  1. (a) Create a DAX measure returning a hex colour with SWITCH ( TRUE (), ISBLANK ( [Margin %] ), BLANK (), [Margin %] < 0.1, "#C0392B", [Margin %] <= 0.15, "#F39C12", "#27AE60" ) and apply Field value conditional formatting to both visuals so the logic stays in one place. Rules would also work in one visual but must be repeated.
  2. (b) A paginated report built in Report Builder with repeating header and a parameter for the store, and use a subscription with a PDF attachment once the workspace and recipients meet the attachment and access requirements.
  3. (c) In one matrix, apply Top N = 10 by revenue and sort products by revenue descending. To show their cumulative share of all products, use a model measure that divides product revenue by revenue across all products while retaining the other report filters. With Total Sales in the visual, use RUNNINGSUM ( [Share of All Product Sales], ROWS, ORDERBY ( [Total Sales], DESC ) ) and label the denominator. Set the display order to match the calculation order, and use the same secondary sort in both if you need deterministic ordering when products tie. The last row reaches 100% only if the displayed products account for all revenue in scope.
  4. (d) A theme JSON with the palette and fonts, applied to each report.

Why not the alternatives. A table visual cannot reliably paginate 30 pages with repeating headers for print. Conditional formatting by Rules would need to be duplicated in each visual. Manually recolouring every visual ignores the theme.

Key terms

  • Visual calculation: DAX calculation defined on and scoped to one visual.
  • Theme: JSON file defining the report's colours, fonts and defaults.
  • Conditional formatting: data-driven appearance (gradient, rules, field value).
  • Slicer: on-canvas filter control.
  • Top N filter: filter keeping the highest or lowest N items by a measure.
  • Paginated report: pixel-perfect, printable report authored in Report Builder.
  • Analyze in Excel: connection from Excel to a published semantic model.
  • Small multiples: repeated mini charts split by a field.
  • Narrative visual: visual that generates text summarizing data.

Summary checklist

  • I can choose a visual from the analytical question.
  • I can format axes, labels, titles and page settings, and apply a theme.
  • I can apply gradient, rules and field-value conditional formatting.
  • I can use slicers and visual, page and report-level filters, including Top N.
  • I can decide between a Power BI report and a paginated report.
  • I can write a visual calculation and explain how it differs from a measure.
  • I know what Analyze in Excel and the narrative/Copilot features do and their prerequisites.

Official sources