Set Up Row-Level Security for Procore Analytics
Objective
To set up row-level security for Procore Analytics.
Background
If a user's Procore login credentials are the same as their Power BI login credentials, row-level security (RLS) filters can be set up in Power BI Desktop to limit a user's access in the Power BI service to data only from Procore projects they have been added to. For more information, see Microsoft's Row-level security (RLS) with Power BI
.
Things to Consider
- Required User Permissions:
- Your login information for Power BI and Procore must use the same email address.
- You must be assigned the 'Viewer' role in the Power BI workspace.
Steps
- Configure 'Project' and 'ProjectUser' Power BI Relationship
- Create a New RLS Role
- Add Users to a RLS Role
Create a New RLS Role
- On the 'Modeling' tab, click Manage Roles.
- In the 'Manage roles' window, complete the following in each column:
- In the 'Roles' column, click Create and enter a name for the role in the 'New role' field. Project User is the role name used in the image below.
- In the 'Tables' column, select ProjectUser.
- In the 'Table filter DAX expression' column, enter [email_address] = userprincipalname().

- Click Save in the 'Manage roles' window.
- Save and publish the report.
- Continue with the steps in Add Users to a RLS Role.
Add Users to a RLS Role
Once the RLS table relationship is configured, users must be added to RLS roles in the Power BI service in order to view a Procore Analytics report. For more information, see Microsoft's Row-level security (RLS) with Power BI: Working with members
.
- Open a Procore Analytics report in the Power BI service.
- Under 'Datasets', click the ellipsis (...) next to the report you want to set up RLS for and click Security.
- Select the role you want to add one or more users to.
- Enter their email addresses and click Add.
- Click Save.