Let’s Get Certified
Module 12 / 12 · Analytics workloads

Build a trustworthy Power BI measure and visual

Connect data, model relationships and choose a visualization that answers a specific question.

Margin by product

A report averages individual margin percentages. One tiny order has a huge percentage and the overall figure looks too high. How should the analyst define and display the measure?

Power BI capabilities

Power BI Desktop supports connecting, shaping, modeling and authoring reports. The Power BI service supports sharing and managing published content, subject to licensing and permissions. A report can contain multiple interactive pages. A dashboard can bring tiles together in the service.

Semantic model features

A fact table records events at a known grain and dimensions supply descriptive filters such as date or product. Define relationships and measures once so different report pages use the same business definition. A measure is evaluated in the current filter context.

Selecting a visual

A line chart emphasizes a trend over ordered time. A bar chart compares categories, a scatter chart shows relationships between two numeric variables and a table supports exact lookup. Distinguish an aggregated rate from the average of row percentages before choosing a chart.

Work through the decision

Compare your reasoning

If finance wants total gross margin percentage, divide total gross profit by total sales in the current filter context. Use a bar chart for products, a line chart for the monthly trend and a table for reconciliation. Confirm the date and product relationships filter one consistent fact grain.

Change one constraint

One product earns 1 on sales of 2. Another earns 9 on sales of 98. What whole-business rate should the dashboard show?

Check your answer

Total gross profit is 10 on sales of 100, a 10% margin. Averaging the two product percentages equally answers a different question.

Revisit the recording

Power BI Desktop, reports and service dashboards are compared. Establish the measure’s grain before deciding how it should be visualized. Power BI · 1:48:07.

Installing and opening Power BI Desktop begins the authoring workflow. Publication, sharing and access policies belong to the service side. Install and Use Power BI · 3:05:38.

Azure SQL becomes a source for a Power BI product report. Check the relationship and filters that determine which products an amount counts. Use Azure SQL as data source in Power BI · 3:34:53.

Check a report at the source

The follow-along connects Power BI to an Azure SQL database. Before accepting a visual, pick one product and period, reproduce its amount from the source, then apply the same filters to the report. An unexplained difference can come from the refresh point, relationships or the measure definition. Watch at 3:35:20.

Sources and further practice

Microsoft exam objectives · Microsoft documentation for this case.

Build and check a grouped report · SQL querying with SQLite · Return to the study map.

Knowledge check

Build a trustworthy Power BI measure and visual quiz

Answer 5 questions. Check each answer for an explanation.

Worked example · Calculating a margin for two stores