0
0
Power BIbi_tool~10 mins

Sharing and access control in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows users, their roles, and their access levels for a Power BI report.

CellValue
A1User
B1Role
C1Access Level
A2Bob
B2Contributor
C2Edit
A3Alice
B3Viewer
C3Read
A4Carol
B4Admin
C4Full Control
Formula Trace
IF(B2="Admin", "Full Control", IF(B2="Contributor", "Edit", "Read"))
Step 1: B2="Admin"
Step 2: B2="Contributor"
Step 3: IF(TRUE, "Edit", "Read")
Cell Reference Map
    A       B           C
1 | User  | Role      | Access Level
2 | Bob   | Contributor -> Formula uses B2
3 |       |           |
4 |       |           |
The formula references cell B2 to determine Bob's role and assign the correct access level.
Result
    A       B           C
1 | User  | Role      | Access Level
2 | Bob   | Contributor | Edit
3 |       |           |
4 |       |           |
The formula result for Bob's access level is 'Edit' because his role is Contributor.
Sheet Trace Quiz - 3 Questions
Test your understanding
What access level does a user with the role 'Admin' get according to the formula?
AEdit
BFull Control
CRead
DNo Access
Key Result
IF(role = "Admin", "Full Control", IF(role = "Contributor", "Edit", "Read"))