Question 954 of 966
Visualize and analyze the datamediumMultiple ChoiceObjective-mapped

Quick Answer

The correct approach is to use a DAX filter that references the USERPRINCIPALNAME() function. This works because Row-Level Security in Power BI relies on dynamic DAX expressions that evaluate the current user’s identity at query time, allowing you to build a hierarchical rule that checks both the manager’s own region and any region where a salesperson reports to them. On the Microsoft Power BI Data Analyst PL-300 exam, this scenario tests your understanding of dynamic RLS versus static role assignment—a common trap is trying to hardcode roles per manager, which fails in real-world hierarchies. The key is to remember that USERPRINCIPALNAME() returns the logged-in user’s email, so your DAX filter can compare that against both the region manager column and the salesperson’s manager column in your data model. Memory tip: think “UPN for hierarchy”—one function, two checks, no hardcoding.

PL-300 Visualize and analyze the data Practice Question

This PL-300 practice question tests your understanding of visualize and analyze the data. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company uses Row-Level Security (RLS) in Power BI. They want to ensure that when a manager views the report, they see data for their own region plus any region where a salesperson reports to them. Which RLS approach should you implement?

Question 1mediummultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use a DAX filter that references the USERPRINCIPALNAME() function

Option A is correct because Row-Level Security (RLS) in Power BI uses DAX filters that can dynamically evaluate the current user's identity via USERPRINCIPALNAME() or USERNAME(). By creating a DAX rule that checks whether the manager's UPN matches the region manager or if the salesperson's manager UPN equals the current user, you can enforce dynamic, hierarchical data access without hardcoding roles per manager.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use a DAX filter that references the USERPRINCIPALNAME() function

    Why this is correct

    USERPRINCIPALNAME() can be used to look up the manager's data permissions dynamically.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use Power BI App permissions to restrict data

    Why it's wrong here

    App permissions control access to the app, not row-level data.

  • Create a static role for each manager and assign users

    Why it's wrong here

    Static roles don't scale with dynamic reporting structures.

  • Apply RLS at the visual level using bookmarks

    Why it's wrong here

    RLS is applied at the dataset level, not per visual.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse RLS with app-level security or visual-level filtering, assuming that restricting access at the app or bookmark level can achieve row-level data isolation, but only DAX-based RLS can enforce dynamic, user-specific row filtering at the data source.

Detailed technical explanation

How to think about this question

Under the hood, RLS in Power BI is enforced at the dataset level in Analysis Services (tabular mode). The DAX filter is applied as a query scope filter, meaning every DAX query from the report includes the filter predicate. For hierarchical RLS, you typically use a bridge table (e.g., EmployeeHierarchy) with columns like 'UserPrincipalName', 'Region', and 'ReportsToUPN', then write a DAX rule like: [Region] IN VALUES(EmployeeHierarchy[Region]) || [SalespersonUPN] IN VALUES(EmployeeHierarchy[ReportsToUPN]). This allows dynamic traversal of the reporting tree without hardcoding.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related PL-300 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PL-300 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PL-300 question test?

Visualize and analyze the data — This question tests Visualize and analyze the data — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Use a DAX filter that references the USERPRINCIPALNAME() function — Option A is correct because Row-Level Security (RLS) in Power BI uses DAX filters that can dynamically evaluate the current user's identity via USERPRINCIPALNAME() or USERNAME(). By creating a DAX rule that checks whether the manager's UPN matches the region manager or if the salesperson's manager UPN equals the current user, you can enforce dynamic, hierarchical data access without hardcoding roles per manager.

What should I do if I get this PL-300 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This PL-300 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-300 exam.