Analyzing Data with Microsoft Power BI (legacy) — Question 2
You have a Microsoft Power BI data model that contains three tables named Orders, Date, and City. There is a one-to-many relationship between Date and
Orders and between City and Orders.
The model contains two row-level security (RLS) roles named Role1 and Role2. Role1 contains the following filter.
City[State Province] = "Kentucky"
Role2 contains the following filter.
Date[Calendar Year] = 2020 -
If a user is a member of both Role1 and Role2, what data will they see in a report that uses the model?
Answer options
- A. The user will see data for which the State Province value is Kentucky and the Calendar Year is 2020.
- B. The user will see data for which the State Province value is Kentucky or the Calendar Year is 2020.
- C. The user will see only data for which the State Province value is Kentucky.
- D. The user will receive an error and will not be able to see the data in the report.
Correct answer: B
Explanation
The correct answer is B because the filters applied through Role1 and Role2 are combined with an OR logic in Power BI. This means that the user can see records that meet either of the conditions: State Province being Kentucky or Calendar Year being 2020. Options A and C are incorrect as they imply an AND condition, and option D is wrong because the user will not receive an error; they will just see filtered data.