Setting up Row Level Security (RLS) for CEO Juice Power BI Reports
Jump to a specific section by clicking a link
Overview | Before You Start | Setup Steps | Testing | Troubleshooting | Related Reports
Overview
Overview
Row Level Security (RLS) lets you share one Power BI report with all of your sales reps while each rep only sees their own data. When a rep opens the report, Power BI checks the email address they signed in with and shows only the rows that belong to them. Managers see the data for the reps on their team.
This means you can give reps self-service access to their deals, orders and customers without exposing other reps' figures, and without building a separate report for each person.
This article applies to the CEO Juice Power BI reports that offer RLS, including:
- ID473 - Open Deals Dashboard for Sales Reps: reps see the sales orders and deals for their own Sales Rep record.
- ID774 - Quarterly Business Review (RLS version): reps can only run a QBR for the accounts where they are listed as Rep on the e-automate Customer record.
Tip: keep a standard (non-RLS) copy of the report for your executive team, so they can see every rep and customer. Give the RLS copy a different name, for example "ID473 Open Deals (RLS)", so the two are easy to tell apart in your workspace.
* * *
Before You Start
Before You Start
You will need:
- Power BI already in place, with the CEO Juice workspace and gateway set up. See here for getting Power BI in place.
- A subscription to the report, and to any report it depends on (for example, ID473 requires ID517).
- A Power BI Pro license for each rep and manager who will view the report.
- Admin or Member access to the CEO Juice workspace, so you can manage security on the semantic model.
The email address in e-automate is what makes RLS work. The report matches each person's Power BI sign-in to the email address on their agent record in e-automate. Before you set anything up, check that every rep and manager has an email address on their agent record, and that it is exactly the address they use to sign in to Microsoft 365. For example, if a rep signs in as john.smith@yourcompany.com but their agent record shows jsmith@yourcompany.com, they will see an empty report.
Managers are matched to their team through the Manager field on each rep's agent record, so check that this is filled in too. Reps with no manager assigned will not appear under any manager.
* * *
Setup Steps
Setup Steps
Step 1: Get the RLS template
Reach out to help@ceojuice.com for the RLS template for your report. Save it with a different name from your standard template, for example "ID473 Open Deals (RLS)".
Step 2: Publish the report to your CEO Juice workspace
Open the template in Power BI Desktop, connect it to your data and publish it to your CEO Juice workspace. Once it is published, connect the semantic model to your gateway and set your refresh schedule.
Step 3: Add your reps to the security role
In the Power BI Service, open your CEO Juice workspace. Hover over the semantic model row for the RLS report, click the ellipsis (three dots), then select Security.
Select the role, add each rep's and manager's Microsoft 365 account, then click Save.
If you have a lot of reps (50+), create a Microsoft 365 security group that they all belong to and add the group instead of each person one by one. You can then manage access in one place, and each rep still signs in with their own account and sees only their own data. Note that group membership changes can take up to an hour to apply in Power BI.
Step 4: Share the report through your Power BI App
Add each rep (or the security group from Step 3) to your Sales audience in the Power BI App. Reps then open the report from the App.
Important: share the report with reps through the App, not by adding them to the workspace. Anyone with Admin, Member or Contributor access to the workspace is not restricted by RLS and will see every rep's data.
* * *
Testing
Testing
Before you tell your reps the report is ready, check what they will see:
- On the Security page of the semantic model, click the ellipsis next to the role and select Test as role.
- At the top of the report, choose Now viewing as and enter the email address of a rep. The report shows exactly what that rep will see.
- Repeat for a manager to check they see the reps on their team.
* * *
Troubleshooting
Troubleshooting
A rep sees an empty report: the email address on their agent record in e-automate does not match the address they sign in with, or the field is blank. Update the agent record, then wait for the next report refresh.
A rep can see everyone's data: they have Admin, Member or Contributor access to the workspace. Remove their workspace access and give them access through the App instead.
A rep cannot open the report at all: check they have a Power BI Pro license and are in the App audience.
A manager is missing some of their reps: check the Manager field on those reps' agent records in e-automate.
A new rep has just been added: add their email to their agent record in e-automate, add them to the role (or the security group) and the App audience, then wait for the next refresh.
If you are still having trouble, contact help@ceojuice.com.
* * *
Related Reports
Related Reports
ID473 - Open Deals Dashboard for Sales Reps (Power BI)
ID774 - Quarterly Business Review (Power BI)
See the full list of all Power BI reports that we currently have available.
0 Comments