Power BI interview questions on sharing and security
Reviewed by Mark Dickie · Last updated
7 questions on this page you can answer and see marked on the spot. Go to the first one
Power BI sharing and security is the set of controls that decides who can open a report, which rows each person sees, and what they can do with it. Interviewers usually test whether you can separate workspace roles from app audiences, and whether you know that row-level security does not apply to every user with access. Expect scenarios where a viewer sees data they should not, or a report works for you but fails for a colleague.
Which sharing mechanisms come up most in Power BI interviews?
| Mechanism | What it controls | Where candidates slip |
|---|---|---|
| Workspace roles (Admin, Member, Contributor, Viewer) | Who can edit content and see all data in the workspace | Members and Admins bypass row-level security, so RLS tests must use a Viewer account |
| Row-level security (RLS) | Which rows a user sees in a dataset, set by DAX filter roles | Roles do nothing until users are mapped to them in the dataset security settings |
| Power BI app | Read-only access to a published set of reports and dashboards | App audience access is separate from workspace membership, so a user can have one without the other |
| Build permission on a dataset | Whether someone can create new reports on a shared semantic model or use Analyze in Excel | Without it, a user can open a report but cannot build on the dataset |
| Publish to web | A public link that needs no sign-in | Anyone with the link sees the data, and RLS does not protect it |
| Sensitivity labels | Classification that travels with content and can restrict export or sharing | A label alone does not hide data; the restriction depends on the label's protection settings and tenant policy |
How do you verify who can see a shared Power BI report?
- Publish the report to a workspace and map one test user to an RLS role in the dataset security settings.
- Sign in as that test user in a private browser window and confirm the visible rows are filtered.
- Share the app with a second Viewer and compare the rows that user sees against the first.
- Remove the test user's app access and confirm the app no longer appears in their list.
- Check that no Publish to web link exists for the report, since that link sits outside every other control.
Key facts
- Tarmac has 30 Power BI interview questions on this topic, 10 of them on this page, at difficulty 1–4 of 5.
- Tarmac tracked 580 job postings asking for Power BI in November 2026.
- Roles asking for Power BI advertise a median base salary of A$130,000, across 179 job postings as of November 2026.
- Tarmac last reviewed these Power BI interview questions on 30 November 2026.
At a glance
| Questions | 10 shown · 30 in the bank |
|---|---|
| Difficulty | 1–4 of 5 |
| Formats | Multiple choice, True / false, Ordering, Flashcard, Fill in the blank, Multiple answer, Find the bug |
What you'll review
- row level security
- workspaces and apps
Practice questions
Try one before you open the answer. Pick an option and press Check; it's marked on the spot.
In Power BI, row-level security (RLS) is defined on the semantic model and restricts which rows each user can see. Which current DAX identity function, the one Microsoft's RLS documentation recommends, returns the signed-in user's User Principal Name (UPN) for use in an RLS role's filter expression?#
Options
Show answer
USERPRINCIPALNAME() is the DAX identity function used in Power BI row-level security to return the signed-in user's User Principal Name. A role filter such as [Email] = USERPRINCIPALNAME() limits each viewer to their own rows. CURRENTUSER(), WHOAMI() and GETUSER() are not DAX functions.
USERPRINCIPALNAME() is the DAX identity function that returns the signed-in user's User Principal Name, typically their email address, so it is the function used in an RLS role filter such as [Email] = USERPRINCIPALNAME(). RLS is configured on the semantic model in Power BI Desktop and applies to every report built on that model. The other choices are not DAX functions: CURRENTUSER(), WHOAMI() and GETUSER() do not exist in DAX.
In Power BI, row-level security (RLS) roles are defined in Power BI Desktop, but users and groups are assigned to those roles in the Power BI service after publishing.#
Options
Show answer
Power BI row-level security roles and their DAX filter expressions are created in Power BI Desktop. Role membership is managed in the Power BI service: after publishing, you add users or security groups to each role on the semantic model's Security settings page.
You create roles and their DAX filters in Power BI Desktop, under Modeling > Manage roles. After you publish, you add members to each role on the semantic model's Security page in the Power BI service. Desktop can test a role with 'View as', but it does not assign members.
Order the typical steps for building and distributing Power BI content to business users through a workspace and an app.#
Put these in order
Show answer
Power BI content distribution follows a fixed sequence: a workspace is created to hold the semantic model and reports, content creators build and publish reports and dashboards into that workspace, an app is then configured from the workspace's content by choosing which items and which audience to include, the app is published to generate a distributable read-optimized version, and finally business users consume that published app without needing any access to the underlying workspace.
A workspace has to exist before anything can be published into it, so it's the starting point, and it's also where the actual authoring happens — reports and semantic models are built and iterated on there by people with edit permissions. An app is a separate, curated distribution layer built from a workspace's content: configuring it means picking which reports and dashboards it exposes and to whom, which only makes sense once that content already exists in the workspace. Publishing the app is what actually generates the distributable version consumers open, and consumption comes last: business users interact with the read-optimized app, not the workspace itself, which is exactly the separation that lets a team keep iterating on drafts inside the workspace without exposing half-finished work to the wider audience using the app.
In a Power BI dataset published to the Power BI Service, you want to implement dynamic row-level security (RLS) so that each user only sees rows where their email matches the value in a table column. You create a role with a DAX filter on that column. Which DAX function returns the UPN (typically the email address) of the currently logged-in user, so the filter can compare it to the email column?#
Options
Show answer
USERPRINCIPALNAME() is the DAX function to use for dynamic RLS that matches an email column in Power BI. It returns the signed-in user's UPN, which is typically their email address, so a role filter can compare it directly against the column. Other candidates are either locale functions or not valid DAX.
USERPRINCIPALNAME() returns the user principal name (UPN) of the user running the report, which is typically the user's email address, so a role filter such as an equality comparison between it and an email column identifies the viewer in the Power BI Service. USERCULTURE() is a real DAX function but returns the locale of the user, such as a language and region setting, not an identity. CURRENTUSER() and WHOAMI() are not DAX functions at all, so they cannot be used in a role filter.
In the Power BI service, row-level security filters apply to workspace members who have the Admin, Member, or Contributor role on the workspace that contains the semantic model.#
Options
Show answer
No. Power BI row-level security does not restrict workspace Admins, Members, or Contributors, because those roles have edit rights on the semantic model and see all of its data. RLS filters only users with Viewer-level access, such as workspace Viewers and people the app or report is shared with.
RLS applies only to users with Viewer permissions, such as workspace Viewers or people the content is shared with. Workspace Admins, Members, and Contributors have edit permissions on the semantic model, so RLS does not restrict them and they see all the data. To test RLS, use the 'Test as role' feature or give the test user the Viewer role.
What is Row-Level Security (RLS) in Power BI, and what's the difference between static and dynamic RLS?#
Show answer
Row-Level Security restricts which rows of model data a given user can see, by defining one or more roles in Power BI Desktop, each with a DAX filter expression (evaluating to TRUE/FALSE per row) applied to a table, and then assigning users or security groups to those roles once the report is published to the Power BI service. Static RLS hardcodes the allowed values directly in the role's DAX filter (for example, Region[Country] = "Australia"), so a separate role has to be created and maintained per value or group of values. Dynamic RLS instead looks up the signed-in user's identity — typically with the USERPRINCIPALNAME() or USERNAME() DAX function — against a mapping table in the model (a table of usernames to allowed regions, for instance), so a single role and a single filter expression can serve every user, each seeing only the rows their mapping-table entry permits, without needing a new role for every new user.
RLS is Power BI's mechanism for row-level data isolation inside a shared semantic model — one report, one dataset, but each viewer only sees the rows their role allows. Static RLS is simple to set up but doesn't scale past a handful of fixed segments, since every new value needs its own role. Dynamic RLS trades a bit of setup complexity (a mapping table plus a USERPRINCIPALNAME()-based filter) for scaling to any number of users without touching the model again — which is why it's the standard approach for any RLS scenario beyond a small, static set of categories.
In Power BI dynamic row-level security, the DAX function _____ returns the signed-in user's UPN (for example, [email protected]) in both Power BI Desktop and the Power BI service. To test a role as a specific user in Power BI Desktop, you use the _____ feature on the Modeling ribbon.#
Show answer
In Power BI dynamic row-level security, the DAX function USERPRINCIPALNAME() returns the signed-in user's UPN (for example, [email protected]) in both Power BI Desktop and the Power BI service. To test a role as a specific user in Power BI Desktop, you use the View as feature on the Modeling ribbon.
USERPRINCIPALNAME() returns the signed-in user's UPN in both Power BI Desktop and the Power BI service, which is why dynamic RLS filters commonly compare against it. USERNAME() is excluded because in Desktop it returns the DOMAIN\user form rather than a UPN, so it does not return a UPN in both environments named in the prompt. In Power BI Desktop, Modeling > View as lets you pick a role and enter another user's identity to check the filters before publishing.
In the Power BI service, a semantic model in a workspace has static RLS roles defined. Which of the following users will have RLS filters applied when viewing a report built on it? Select all that apply.#
Options
Pick every one that applies.
Show answer
Power BI row-level security filters only users with read-only access to the semantic model, such as workspace Viewers and app consumers who are mapped to a role. Workspace Admins, Members and Contributors have edit permissions, so RLS is not applied to them and they see all data.
RLS in the Power BI service applies only to users with read-only access to the semantic model, such as workspace Viewers or app consumers who are mapped to a role. Workspace Admin, Member and Contributor roles can edit the model, so RLS filters do not apply to them and they see all rows. That is why you test RLS with the 'Test as role' / 'View as' feature rather than by opening the report as an editor.
A dynamic RLS role on the Sales table should restrict each salesperson to their own region. UserRegion maps Email to Region and has no relationship to Sales. Users with several regions report seeing an error or no data. Which line is the bug?#
// Role filter on table Sales
VAR CurrentUser = USERPRINCIPALNAME()
VAR UserRegions =
CALCULATETABLE( VALUES( UserRegion[Region] ), UserRegion[Email] = CurrentUser )
RETURN
Sales[Region] = LOOKUPVALUE( UserRegion[Region], UserRegion[Email], CurrentUser )Show answer
The bug is on line 6.
LOOKUPVALUE has to return a single value. When a user is mapped to more than one region, it raises an error ("a table of multiple values was supplied"), so the filter fails. The correct table set is already in UserRegions, which is computed but never used. Line 6 should be Sales[Region] IN UserRegions. Lines 2 to 4 are correct: USERPRINCIPALNAME() returns the signed-in user's UPN in the service, and the CALCULATETABLE returns all of that user's regions.
Which statements about Power BI workspace apps (current service with app audiences) are true? Select all that apply.#
Options
Pick every one that applies.
Show answer
Power BI workspace apps support multiple audiences, and each audience can see a different subset of content. Workspace edits reach consumers only after the app is updated, and each workspace can publish just one app. Audiences are not a security boundary: hiding a report doesn't stop access to its semantic model. Data restriction needs row-level or object-level security.
Three statements are true. An app can have up to 10 audiences, and each audience can see a different set of content. App consumers see a published snapshot, so edits made in the workspace don't reach them until someone updates the app. Each workspace can publish exactly one app. The statement about hiding a report is false. Audiences only control which content is visible, not who can access the data. Users who have Build permission, or access through another path, can still query the semantic model. Real data restriction requires RLS/OLS or managed permissions.
Related interview questions
Job market
See power-bi salaries and hiring demand from live job postings.
The other 20 questions
This page shows 10 and marks what you pick. That's as far as a page can go. A free account opens the other 20 and keeps every answer. What you miss comes back until it's right: after a day, then at longer gaps.
Free · the whole bank · 100 answers per 30 days, each marked with written feedback