ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 277 - PL-300 discussion

Report
Export

A manager can represent only a single country.

You need to use row-level security (RLS) to meet the following requirements:

The managers must only see the data of their respective country.

The number of RLS roles must be minimized.

Which two actions should you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Create a single role that filters Country[Manager_Email] by using the USERNAME DAX function.

Answers
A.

Create a single role that filters Country[Manager_Email] by using the USERNAME DAX function.

B.

Create a single role that filters Country[Manager_Email] by using the USEROBJECTID DAX function.

Answers
B.

Create a single role that filters Country[Manager_Email] by using the USEROBJECTID DAX function.

C.

For the relationship between Purchase Detail and Purchase, select Apply security filter in both directions.

Answers
C.

For the relationship between Purchase Detail and Purchase, select Apply security filter in both directions.

D.

Create one role for each country.

Answers
D.

Create one role for each country.

E.

For the relationship between Purchase and Purchase Detail, change the Cross filter direction to Single.

Answers
E.

For the relationship between Purchase and Purchase Detail, change the Cross filter direction to Single.

Suggested answer: A, C

Explanation:

In Power BI Service the username and userprincipalname both return the email address, it's only in Power BI Desktop that username is domain/username rather than the email address. So I agree that userprincipalname is better generally as you always get the same value, the answer is correct and

you can use username as your RLS since the role will be applied in the Service. See

https://community.powerbi.com/t5/Community-Blog/USERNAME-v-s-USERPRINCIPALNAME-in-RLSfor-Power-BI-Embedded/ba-p/1867670 for more information.

asked 05/10/2024
Vijayakumar Dhandapani
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first