Power BI Course · Advanced scenario lesson

Advanced Power BI Scenarios: Performance, Security and Refresh

Troubleshoot a slow Power BI report, validate RLS with the right user role and trace a failed refresh.

Learn the design method, inspect a worked scenario, and test a fresh variation.

POWER BI LESSON PREVIEW
Advanced scenario lessonDesign → test

Core idea

Measure the slow visual, verify the security role, inspect the refresh history.

Slow visual → Analyzer
Viewer → RLS test
Refresh → history
Check the model and result.Compare each result with the source rows and filter context.

The direct answer

Diagnose the observed symptom before changing the model.

Advanced Power BI work combines report performance, data access and refresh reliability. A slow visual, a Viewer seeing too much data and a failed scheduled refresh are different problems. They need separate evidence before a fix. This lesson uses a realistic report scenario and a troubleshooting tree to prevent indiscriminate changes to DAX, relationships or gateway settings.

The current PL-300 guide includes model performance, workspaces, gateways, scheduled refresh and RLS. Details vary with storage mode, service configuration and licensing, so verify the actual environment. Course pricing follows this overview.

Course access

Choose your next step in Power BI.

Review the current course options and access details here.

Heycademy Courses · Coming Soon

Master Power BI with Heycademy

We’re preparing an interactive learning experience with practical exercises, skill assessments and personalized learning to help you build confidence and master new skills.

Launching soon!
We’re putting the finishing touches on this course. Please check back for updates.

Original report case

A slow report with a surprising total.

A sales report has 8 million transaction rows, a high-cardinality TransactionID in a detailed visual, several visuals on one page and an ambiguous Customer relationship path. Users report slow page load. An analyst also finds that a region subtotal is too high after a relationship change. A published Import model then shows a refresh failure.

Scenario triage matrix
Observed symptomEvidence to gather firstDo not assume
One visual takes most timePerformance Analyzer trace and visual query.Every visual is equally slow.
Region subtotal too highFact grain, key uniqueness, relationship path.DAX alone is at fault.
Viewer sees all regionsRole membership and Test as role.A slicer is a security control.
Refresh failsRefresh history, credentials and gateway status.The report visual caused it.

Keep a copy of the expected business totals before changing the model. A faster report with wrong totals is not an improvement.

Diagnose the slow visual

Use a measured trace rather than a guess.

  1. Record a baseline page interaction with Performance Analyzer.
  2. Identify the slow visual and whether time is in DAX query or rendering.
  3. Inspect whether TransactionID detail is needed for the business question.
  4. Check relationship cardinality, duplicated dimension keys and unnecessary model columns.
  5. Change one design choice, rerun the same interaction and compare duration and result.

A high-cardinality field can increase work, but do not promise that removing it always fixes the report. The result depends on model, storage mode and visual design. The official study guide names Performance Analyzer and DAX query view as tools for finding poor measures, relationships and visuals.

Fix the subtotal

Verify the grain and filter path.

Suppose an Orders table was merged with OrderItems, so one order header amount appears once for every item. A region subtotal based on the header amount becomes inflated. Alternatively, an ambiguous bidirectional relationship might propagate filters along an unintended path. These are different causes; inspect source rows and model relationships to distinguish them.

Model troubleshooting tree
CheckIf it failsCandidate repair
One row per stated fact grainHeader duplicated per item.Aggregate at order grain or use item amount intentionally.
Unique dimension keyCustomer key repeats in dimension.Clean or deduplicate the dimension by a defined rule.
Single intended filter pathAmbiguous or broad bidirectional propagation.Revisit star-schema direction and role dimensions.
Expected source totalVisual differs from manual sum.Trace transformation and DAX context.

Microsoft’s star-schema guidance and relationship documentation are the primary references. Test a known customer and one unmatched key after changing the model.

Keep building this skill

Turn the example into a checked report.

Return to the course options whenever you are ready.

Explore course options →

RLS is not a slicer

Test the effective role.

Row-level security restricts semantic-model rows for specified users. A region slicer merely changes what a report displays; a user might remove it or query the model elsewhere if permissions permit. Define the RLS role, assign the relevant users or groups, and test with the correct Viewer scenario. Microsoft states that Power BI service RLS does not apply to workspace Admin, Member or Contributor roles.

Role-test matrix
IdentityExpected check
Viewer assigned North roleNorth rows only.
Viewer with no expected roleInspect membership and access design.
Workspace AdminDo not use as proof that Viewer RLS works.

Use Microsoft’s RLS documentation for the current scope and limitations. A report screenshot under an Admin account is not an RLS test.

Trace failed refresh

Separate source access from report logic.

For an Import model, inspect refresh history for the error and time. Then check source credentials, gateway/cloud connection and the configured schedule. An on-premises source may need a gateway; a cloud source may not. Power BI’s scheduled refresh documentation describes these settings and failure diagnostics.

After the connection works, compare model row count and a known metric with the source. A successful refresh notification does not prove that all transformations retained the intended rows. If the model uses DirectQuery or live connection, the source-data refresh pattern differs; identify storage mode before applying an Import checklist.

Fresh three-symptom case

Choose the first check for each failure.

A report loads slowly only when a detailed table is visible; a Viewer assigned to South sees North; and refresh history shows expired credentials. Name the first evidence and candidate repair for each without conflating them.

Show the response

Performance: capture the detailed table in Performance Analyzer and inspect its query/cardinality. Security: validate role definition and membership using Test as role with a Viewer. Refresh: update credentials through semantic-model settings and rerun refresh, then reconcile data. Each change must be tested independently.

The mistakes guide gives a deeper model-context repair example.

Storage mode changes the diagnosis

Identify Import, DirectQuery or DirectLake first.

The current PL-300 guide includes choosing among Import, DirectQuery and DirectLake. These choices affect where data is stored and how queries reach the source. A slow DirectQuery visual may require source-query investigation; an Import model may be fast to browse but stale if refresh fails. Do not apply one refresh or performance checklist indiscriminately.

Storage-mode triage; verify current platform specifics
Mode or symptomQuestion to askEvidence
Import modelDid the last data refresh succeed?Refresh history and reconciled row count.
DirectQuery modelWhich source query runs for the slow visual?Performance trace and source-side behavior.
DirectLake modelWhat current platform behavior and constraints apply?Official configuration guidance for the actual workspace.

This table is a diagnostic starting point, not a full feature comparison. Storage mode, capacity and connector details can change. Use the official guide for exam scope and product documentation for the environment at hand. Before changing mode to “make it faster,” define whether freshness, source load and security expectations still hold.

FAQ

Questions about this skill.

Will reducing visuals always speed a report?

It can reduce work, but measure the actual slow visual and compare the same interaction before and after.

Does RLS apply to workspace Admin users?

Microsoft states it does not; test with Viewer permissions.

Does every refresh need a gateway?

No. The requirement depends on source connectivity and configuration.

Continue with the course

Build reliable Power BI skills.

Review the course options and choose your next learning step.

Take the next step →
Scroll to Top