How to Set Up Manager-Level Row-Level Security in Power BI for Multinational HR Teams

How to Set Up Manager-Level Row-Level Security in Power BI for Multinational HR Teams

5 min read
Category
Share
Key takeaways

In this article

Introduction

Multinational HR organizations face a critical challenge: enabling managers to access workforce data relevant to their teams while maintaining strict data governance and compliance across regions. As HR teams increasingly rely on data-driven insights to make talent decisions, the ability to granularly control who sees what data has become essential. Row-level security (RLS) in Power BI offers a powerful solution to this challenge, allowing you to restrict data visibility at the row level based on user identity, organizational hierarchy, or business rules.

This comprehensive guide walks you through implementing manager-level row-level security in Power BI specifically designed for multinational HR teams. Whether you’re managing a global workforce across multiple countries, handling sensitive compensation data, or ensuring compliance with regional regulations like GDPR, this step-by-step approach will help you build a secure, scalable RLS framework that empowers managers while protecting sensitive employee information.

By the end of this guide, you’ll understand how to configure RLS roles, create dynamic DAX filters, test your security implementation, and deploy it across your organization. You’ll also learn how solutions like Agile HR Analytics leverage the Microsoft stack Power BI, Azure, and Azure OpenAI to accelerate secure HR analytics deployments with pre-built data models and governance frameworks already built in.

Prerequisites: What You Need Before Starting

 

Before diving into the technical implementation of manager-level RLS, ensure you have the following in place:

Technical Requirements:

  • Power BI Desktop (latest version) and Power BI Premium or Premium Per User license for RLS enforcement in the Power BI Service
  • A semantic model (previously called a dataset) with HR data including employee records, manager hierarchies, and organizational structure
  • Access to your HR data source (SQL Server, Azure SQL, Excel, or your HRIS system)
  • Administrative access to Power BI workspace and the ability to publish and manage datasets
  • Understanding of DAX (Data Analysis Expressions) formulas, particularly functions like USERNAME(), USERPRINCIPALNAME(), and LOOKUPVALUE()

Organizational Prerequisites:

  • A clearly defined organizational hierarchy with manager-employee relationships documented in your HR system
  • User directory integration (Azure Active Directory) where user email addresses or usernames match your HR data
  • Data governance policies that define what data managers can access and what data should remain restricted
  • Compliance requirements documented for your regions (GDPR for EU, CCPA for California, local data residency laws, etc.)
  • IT and security team approval for implementing row-level security across your Power BI environment

Data Preparation:

  • A clean employee dimension table with fields for EmployeeID, EmployeeName, ManagerID, Department, Country, and EmailAddress
  • A manager lookup table or relationship that maps each employee to their direct manager
  • A bridge table (if needed) for matrix reporting structures where employees report to multiple managers
  • Consistent email formatting in your HR system that matches Azure Active Directory user identities

Before proceeding, review the HR Data Governance Checklist: Secure and Compliant People Analytics to ensure your organization’s data governance foundation is solid. Additionally, understanding your Enterprise HR Analytics Strategy will help align this RLS implementation with broader organizational goals.

Step 1: Design Your Manager Hierarchy and Data Model

 

The foundation of effective manager-level RLS is a well-structured data model that clearly represents your organizational hierarchy. Before writing any DAX formulas, you need to map out how managers relate to employees and how that structure should control data visibility.

Create Your Employee and Manager Tables:

Start by ensuring your semantic model includes an Employee dimension table with the following key fields:

  • EmployeeID (unique identifier)
  • EmployeeName
  • EmailAddress (must match Azure AD user identity)
  • ManagerID (references the EmployeeID of the direct manager)
  • Department
  • Country
  • CostCenter
  • JobLevel

For multinational organizations, also include:

  • Region (e.g., EMEA, APAC, Americas)
  • CountryCode (ISO 3166 format)
  • LocalCurrency

Next, create a Manager lookup table that explicitly maps each manager to their direct reports. This can be a separate table or a view in your source system:

ManagerID | ManagerName | ManagerEmail | DirectReportID | DirectReportName

This structure allows you to quickly identify which employees report to a specific manager without complex recursive queries.

Handle Complex Organizational Structures:

Many multinational organizations have matrix reporting structures where an employee reports to multiple managers. To handle this scenario, create a bridge table called ManagerReportingRelationship:

ManagerID | DirectReportID | ReportingType | EffectiveDate | EndDate

The ReportingType field can indicate “Direct”, “Dotted Line”, or “Secondary”, allowing you to apply different RLS rules based on reporting relationship type. For example, you might allow direct managers to see all compensation data, but dotted-line managers to see only performance ratings.

Establish Data Relationships:

In Power BI Desktop, establish the following relationships:

  1. Employee[ManagerID] → Employee[EmployeeID] (self-referencing relationship for hierarchy)
  2. Employee[EmployeeID] → ManagerReportingRelationship[DirectReportID]
  3. ManagerReportingRelationship[ManagerID] → Employee[EmployeeID]

Mark the self-referencing relationship as inactive by default (since it can create ambiguity), and use it explicitly in DAX formulas when needed.

Document Your Hierarchy Logic:

For multinational organizations, document whether managers can see:

  • Only direct reports (one level down)
  • All subordinates (full chain of command)
  • Cross-border data (employees in other countries)
  • Sensitive data (compensation, performance ratings)

This documentation becomes critical when writing DAX filters and testing RLS rules. For guidance on structuring your HR data for analytics, consult the How to Integrate HR, Payroll and Survey Data for People Analytics guide.

Step 2: Create RLS Roles in Power BI Desktop

 

With your data model designed, the next step is to create RLS roles in Power BI Desktop. Roles define which DAX filters apply to different user groups and determine what data they can access.

Access the Manage Roles Interface:

  1. In Power BI Desktop, go to the Modeling tab in the ribbon
  2. Click Manage Roles
  3. Click Create to add a new role
  4. Name your first role “ManagerRole” (you’ll create additional roles for other user types)

Create a Manager Role:

The ManagerRole will apply RLS filters that restrict data visibility to each manager’s direct reports. Here’s the approach:

  1. In the Manage Roles dialog, select the ManagerRole
  2. Click the table dropdown and select your Employee table
  3. In the Table Filter DAX Expression field, enter a formula that filters employees based on the current user’s identity

Before writing the DAX formula, you need to understand the available functions:

  • USERNAME() – Returns the username in “domain\username” format
  • USERPRINCIPALNAME() – Returns the user’s email address (UPN) from Azure AD
  • LOOKUPVALUE() – Searches for a value in another table

For most multinational organizations using Azure AD, USERPRINCIPALNAME() is more reliable because it returns the email address, which typically matches your HR system.

Write the DAX Filter for Manager Access:

Here’s a foundational DAX formula for manager-level RLS:

[EmailAddress] = USERPRINCIPALNAME() ||
ANY(
  FILTER(
    Employee,
    [ManagerID] = LOOKUPVALUE(
      Employee[EmployeeID],
      Employee[EmailAddress],
      USERPRINCIPALNAME()
    )
  )
)

This formula works as follows:

  1. First condition: [EmailAddress] = USERPRINCIPALNAME() – Allows users to see their own record
  2. Second condition: Uses FILTER() to find all employees whose ManagerID matches the current user’s EmployeeID (looked up from the email address)
  3. The || (OR) operator means a user sees rows that meet either condition

Handle Null Manager Values:

For employees without a manager (typically executives), modify the formula to prevent errors:

[EmailAddress] = USERPRINCIPALNAME() ||
ANY(
  FILTER(
    Employee,
    NOT(ISBLANK([ManagerID])) &&
    [ManagerID] = LOOKUPVALUE(
      Employee[EmployeeID],
      Employee[EmailAddress],
      USERPRINCIPALNAME(),
      BLANK()
    )
  )
)

The NOT(ISBLANK([ManagerID])) check prevents errors when a manager field is empty.

Create Additional Roles for Different User Types:

Multinational HR teams typically need multiple RLS roles:

HR Administrator Role: Can see all employee data across all regions

TRUE()

This formula grants access to all rows. Only assign this role to trusted HR personnel.

Regional Manager Role: Can see employees only in their assigned region

[EmailAddress] = USERPRINCIPALNAME() ||
[Region] = LOOKUPVALUE(
  Employee[Region],
  Employee[EmailAddress],
  USERPRINCIPALNAME(),
  BLANK()
)

Department Manager Role: Can see employees only in their department

[EmailAddress] = USERPRINCIPALNAME() ||
[Department] = LOOKUPVALUE(
  Employee[Department],
  Employee[EmailAddress],
  USERPRINCIPALNAME(),
  BLANK()
)

Compensation Analyst Role: Can see compensation data only for their assigned region
For this role, apply the filter to your compensation table instead of the Employee table:

LOOKUPVALUE(
  Employee[Region],
  Employee[EmployeeID],
  [EmployeeID]
) = LOOKUPVALUE(
  Employee[Region],
  Employee[EmailAddress],
  USERPRINCIPALNAME(),
  BLANK()
)

For detailed guidance on building comprehensive HR analytics dashboards that work with RLS, see How to Build an HR Analytics Dashboard in Power BI (Step-by-Step).

Step 3: Implement Advanced DAX Patterns for Multinational Scenarios

Basic RLS formulas work well for simple hierarchies, but multinational HR teams often face complex scenarios requiring advanced DAX patterns. This section covers sophisticated approaches for real-world situations.

Multi-Level Organizational Hierarchies:

Some organizations want managers to see not just direct reports, but all subordinates down the chain of command. Implement this using a recursive function approach:

VAR CurrentUserEmployeeID = LOOKUPVALUE(
  Employee[EmployeeID],
  Employee[EmailAddress],
  USERPRINCIPALNAME()
)
VAR AllSubordinates = GENERATE(
  FILTER(
    Employee,
    [ManagerID] = CurrentUserEmployeeID
  ),
  TREATAS(
    {[EmployeeID]},
    Employee[EmployeeID]
  )
)
RETURN
  [EmailAddress] = USERPRINCIPALNAME() ||
  [EmployeeID] IN AllSubordinates

This approach has limitations in Power BI because it doesn’t recursively traverse multiple levels. For true recursive hierarchies, consider using a bridge table with all ancestor-descendant relationships pre-calculated in your source system.

Matrix Reporting Structures:

When employees report to multiple managers, use a bridge table approach:

[EmailAddress] = USERPRINCIPALNAME() ||
ANY(
  FILTER(
    ManagerReportingRelationship,
    [ManagerID] = LOOKUPVALUE(
      Employee[EmployeeID],
      Employee[EmailAddress],
      USERPRINCIPALNAME()
    ) &&
    TODAY() >= [EffectiveDate] &&
    (ISBLANK([EndDate]) || TODAY() <= [EndDate])
  )
)

This formula includes date logic to handle reporting relationships that change over time, critical for organizations with frequent restructuring.

Cross-Border Data Access with Compliance Rules:

For GDPR compliance in the EU, you might restrict EU-based managers from seeing employee data outside the EU. Implement this logic:

VAR ManagerCountry = LOOKUPVALUE(
  Employee[Country],
  Employee[EmailAddress],
  USERPRINCIPALNAME()
)
VAR ManagerIsEU = LOOKUPVALUE(
  Employee[IsEUResident],
  Employee[EmailAddress],
  USERPRINCIPALNAME()
)
RETURN
  [EmailAddress] = USERPRINCIPALNAME() ||
  (
    ANY(
      FILTER(
        Employee,
        NOT(ISBLANK([ManagerID])) &&
        [ManagerID] = LOOKUPVALUE(
          Employee[EmployeeID],
          Employee[EmailAddress],
          USERPRINCIPALNAME()
        )
      )
    ) &&
    IF(
      ManagerIsEU,
      [IsEUResident] = TRUE(),
      TRUE()
    )
  )

This formula allows EU managers to see only EU employees, while non-EU managers can see employees globally (or adjust based on your compliance requirements).

Temporary Elevated Access:

For scenarios where managers need temporary access beyond their normal scope (e.g., covering for absent managers), implement a time-limited access table:

VAR CurrentUserID = LOOKUPVALUE(
  Employee[EmployeeID],
  Employee[EmailAddress],
  USERPRINCIPALNAME()
)
VAR TemporaryAccessUsers = FILTER(
  TemporaryAccess,
  [ManagerID] = CurrentUserID &&
  TODAY() >= [EffectiveDate] &&
  TODAY() <= [EndDate]
)
RETURN
  [EmailAddress] = USERPRINCIPALNAME() ||
  ANY(
    FILTER(
      Employee,
      NOT(ISBLANK([ManagerID])) &&
      [ManagerID] = LOOKUPVALUE(
        Employee[EmployeeID],
        Employee[EmailAddress],
        USERPRINCIPALNAME()
      )
    )
  ) ||
  ANY(TemporaryAccessUsers)

Maintain a TemporaryAccess table with ManagerID, EmployeeID, EffectiveDate, and EndDate columns, allowing HR to grant time-limited access without changing role assignments.

Conditional Access Based on Data Sensitivity:

For sensitive metrics like compensation, you might want managers to see employee names and departments, but restrict compensation data. Implement this at the measure level rather than row level. Create measures that return BLANK() for sensitive data when the user lacks appropriate permissions:

SalaryMeasure = 
IF(
  OR(
    USERPRINCIPALNAME() = "hr-admin@company.com",
    LOOKUPVALUE(
      Employee[HasCompensationAccess],
      Employee[EmailAddress],
      USERPRINCIPALNAME(),
      FALSE()
    ) = TRUE()
  ),
  SUM(Compensation[BaseSalary]),
  BLANK()
)

This approach combines row-level security with measure-level security for granular control.

For comprehensive guidance on implementing these patterns in your HR analytics strategy, refer to Workforce Planning Strategy for Global Organizations: Models, Tools and Governance.

Step 4: Test RLS in Power BI Desktop

Before deploying your RLS implementation to production, thoroughly test it in Power BI Desktop. Testing ensures that your DAX formulas work correctly and that users see only the data they should access.

Use the View As Feature:

Power BI Desktop includes a “View As” feature that simulates how the report appears to different users without publishing to the service:

  1. In Power BI Desktop, go to the Modeling tab
  2. Click View as Roles
  3. Select the role you want to test (e.g., “ManagerRole”)
  4. Enter a username or email address to simulate (e.g., a manager’s email)
  5. Click OK

Power BI will now display the report as if you’re logged in as that user, applying the RLS filters from the selected role.

Create Test Cases:

Develop comprehensive test cases covering:

Scenario 1: Manager Viewing Their Direct Reports

  • Log in as a manager
  • Verify that all their direct reports are visible
  • Verify that employees from other departments are not visible
  • Check that employee count matches expected direct reports

Scenario 2: Executive Viewing All Subordinates

  • Log in as a senior executive
  • Verify visibility of all subordinates across the organization
  • Check that cross-functional team members are visible if they report to this executive

Scenario 3: HR Admin Viewing All Data

  • Log in as an HR administrator
  • Verify that all employee records are visible
  • Check that all sensitive data (compensation, performance ratings) is accessible

Scenario 4: Employee Viewing Only Their Own Record

  • Log in as a non-manager employee
  • Verify that only their own employee record is visible
  • Verify that they cannot see colleagues’ data

Scenario 5: Cross-Border Access

  • Log in as a manager in the EU
  • Verify that they can see only EU-based direct reports (if that’s your policy)
  • Verify that they cannot see employees outside their region

Scenario 6: User Not in HR System

  • Test what happens when a Power BI user doesn’t have a matching record in the Employee table
  • Verify that they see no data (or minimal data, depending on your policy)
  • Check that no errors are thrown

Verify Data Counts and Aggregations:

Create a test report with the following visuals:

  1. Employee Count Card – Shows the total number of visible employees
  2. Department Breakdown Table – Lists departments and employee counts
  3. Manager Hierarchy Tree – Visualizes the reporting structure
  4. Sensitive Data Table – Shows compensation or other sensitive fields

For each test user, document:

  • Expected employee count
  • Expected departments visible
  • Expected compensation data visibility
  • Actual results
  • Pass/Fail status

Test Error Handling:

Your DAX formulas should handle edge cases gracefully:

  1. User not found in HR system – The formula should return no data, not an error
  2. Null manager values – Should not cause formula errors
  3. Circular reporting relationships – Should be prevented at the data level, but test to ensure no infinite loops
  4. Special characters in email addresses – Test with users whose emails contain special characters

Document Test Results:

Create a test matrix showing:

Test User | Role | Expected Result | Actual Result | Status | Notes
---
John Smith | Manager | See 5 direct reports | See 5 direct reports | PASS | 
Sarah Johnson | HR Admin | See all 500 employees | See all 500 employees | PASS |
Mike Chen | Employee | See only own record | See only own record | PASS |

Keep this documentation for compliance audits and future reference.

Step 5: Deploy RLS to Power BI Service and Assign Users to Roles

Once you’ve thoroughly tested your RLS implementation in Power BI Desktop, it’s time to deploy to the Power BI Service and assign users to roles.

Publish Your Semantic Model:

  1. In Power BI Desktop, click Publish
  2. Select your target workspace
  3. Click Select to confirm
  4. Wait for the publish to complete

Verify RLS in the Power BI Service:

  1. Go to powerbi.microsoft.com
  2. Navigate to your workspace
  3. Find your published semantic model
  4. Click the three dots menu and select Security
  5. Verify that your RLS roles are listed

Assign Users to Roles:

This is critical creating roles doesn’t automatically apply them. You must explicitly assign users:

  1. In the semantic model Security panel, click a role name
  2. Click Add users or groups
  3. Search for and select users or security groups
  4. Click Add
  5. Repeat for each role

Best Practice: Use Azure AD Security Groups

For multinational organizations managing many users, assign security groups rather than individual users:

  1. In Azure AD, create security groups like:
    • “HR-Managers-EMEA”
    • “HR-Managers-APAC”
    • “HR-Admins”
    • “Compensation-Analysts”
  2. Add users to these groups based on their role and region
  3. In Power BI RLS, assign the entire security group to the appropriate role
  4. When a user’s role changes, simply add or remove them from the Azure AD group no need to update Power BI

Document Role Assignments:

Maintain a spreadsheet documenting:

User | Email | Role | Azure AD Group | Region | Department | Assignment Date | Reviewer
---
John Smith | john.smith@company.com | ManagerRole | HR-Managers-EMEA | UK | Finance | 2024-01-15 | Jane Doe

This documentation is essential for compliance audits and access reviews.

Test Access in the Power BI Service:

After assigning users:

  1. Ask a manager to log in to Power BI
  2. Have them open a report and verify they see only their direct reports’ data
  3. Check that filters and slicers work correctly with their restricted data
  4. Verify that cross-filtering between visuals respects RLS boundaries

For guidance on managing and monitoring your HR analytics deployment, see HR Analytics Implementation Checklist: From Data to Decisions.

Step 6: Advanced Security Considerations for Multinational Organizations

Multinational HR teams must consider additional security and compliance factors beyond basic RLS.

Data Residency and Sovereignty:

Different regions have different data residency requirements:

  • GDPR (EU): Personal data of EU residents must be stored in the EU
  • LGPD (Brazil): Brazilian personal data must be stored in Brazil
  • PDPA (Thailand): Thai data must be stored in Thailand
  • PIPL (China): Chinese data must be stored in China

When using Power BI and Azure:

  1. Deploy your Azure resources in the appropriate region for each country
  2. Use separate Power BI capacities or Premium Per User licenses in each region if needed
  3. Implement data replication policies that respect residency requirements
  4. Document your data flows and storage locations for compliance

Consider solutions like Agile HR Analytics that support local hosting and data residency requirements through Azure deployments in multiple regions.

Encryption and Data Protection:

Implement multiple layers of encryption:

  1. In Transit: Use TLS 1.2 or higher for all data transmission
  2. At Rest: Enable Azure Storage encryption with customer-managed keys
  3. In Service: Use Power BI’s built-in encryption for semantic models

Configure in Power BI Premium:

  1. Go to Admin Portal → Premium Capacity Settings
  2. Enable Encryption with customer-managed keys
  3. Provide your Azure Key Vault key URI
  4. Verify that all workspaces use this encryption

Audit Logging and Monitoring:

Multinational organizations must maintain detailed audit trails:

  1. Enable Power BI audit logs:
    • Go to Admin Portal → Audit Settings
    • Toggle Audit Log to enabled
    • Choose to store logs in Office 365 or Azure Storage
  2. Monitor RLS access:
    • Set up alerts for failed authentication attempts
    • Track who accessed what data and when
    • Review audit logs monthly for suspicious activity
  3. Use Azure Sentinel for advanced threat detection:
    • Connect Power BI audit logs to Azure Sentinel
    • Create detection rules for unusual access patterns
    • Generate alerts for potential security incidents

Object-Level Security (OLS):

For additional protection of sensitive columns (e.g., salary, performance ratings), implement object-level security:

  1. In Power BI Desktop, go to Modeling → Object-level security
  2. Select a table and column
  3. Click Add roles
  4. Select which roles can see this column
  5. Repeat for each sensitive column

For example, hide the Salary column from all roles except HR-Admin and Compensation-Analyst.

Regular Security Reviews:

Implement a quarterly access review process:

  1. Pull a list of all users with Power BI access
  2. For each user, verify their role is still appropriate
  3. Check for orphaned accounts (users no longer with the company)
  4. Review role assignments for the principle of least privilege
  5. Document findings and remediation actions

For comprehensive guidance on HR data governance, see HR Data Governance Checklist: Secure and Compliant People Analytics.

Step 7: Troubleshooting Common RLS Issues

Even with careful implementation, RLS can present challenges. Here’s how to diagnose and resolve common issues.

Problem: Users See No Data

Causes:

  • User email in Azure AD doesn’t match HR system email
  • RLS formula has a syntax error
  • User not assigned to any role
  • USERPRINCIPALNAME() returns unexpected format

Solution:

  1. Verify the user’s UPN in Azure AD matches their email in the HR system
  2. Use View As in Power BI Desktop to test the exact UPN
  3. Add error handling to your DAX formula:
IF(
  ISERROR(
    LOOKUPVALUE(
      Employee[EmployeeID],
      Employee[EmailAddress],
      USERPRINCIPALNAME()
    )
  ),
  FALSE(),
  [Your original filter formula]
)
  1. Check that the user is assigned to the correct role in Power BI Service

Problem: Users See All Data (RLS Not Applied)

Causes:

  • User has Admin role in Power BI workspace
  • RLS role not assigned to the user
  • RLS formula returns TRUE() for all rows
  • User has permission to edit the semantic model

Solution:

  1. Verify the user is not a workspace Admin or Contributor
  2. Check role assignment in Power BI Service Security settings
  3. Review RLS formula logic for errors
  4. Ensure users only have Viewer permission for reports, not Edit permission for the semantic model

Problem: Performance Issues with RLS

Causes:

  • Complex DAX formulas with multiple LOOKUPVALUE() calls
  • RLS filter on a large table without proper indexing
  • Inefficient filter logic causing full table scans

Solution:

  1. Simplify DAX formulas by pre-calculating manager relationships in your source system
  2. Use a bridge table instead of complex FILTER() expressions
  3. Add indexes on EmailAddress and ManagerID columns in your source database
  4. Monitor query performance using Power BI Performance Analyzer
  5. Consider using DirectQuery with a data source that can push down RLS filtering efficiently

Problem: Cross-Filtering Breaks RLS

Causes:

  • Relationships configured with cross-filter direction set to Both
  • Slicers allowing users to filter across RLS boundaries
  • Calculated columns that bypass RLS

Solution:

  1. Review all relationships and set cross-filter direction to Single (from dimension to fact table)
  2. Disable cross-filtering on sensitive relationships
  3. Avoid calculated columns that reference tables outside the RLS scope
  4. Use measures instead of calculated columns for security-sensitive calculations

Problem: Users in Multiple Roles See Inconsistent Data

Causes:

  • User assigned to multiple roles with conflicting filters
  • Role hierarchy not properly designed

Solution:

  1. Redesign roles to be mutually exclusive (a user should have only one role)
  2. If a user needs permissions from multiple roles, create a new combined role
  3. Test thoroughly with View As to ensure consistent behavior

For technical documentation on RLS implementation, consult Row-level security (RLS) with Power BI – Microsoft Fabric for the most current Microsoft guidance.

Step 8: Monitoring and Maintaining RLS Over Time

RLS implementation isn’t a one-time project it requires ongoing monitoring and maintenance as your organization evolves.

Quarterly Access Reviews:

Implement a formal process to review RLS access quarterly:

  1. Generate Access Reports:
    • Export a list of all Power BI users and their assigned roles
    • Cross-reference against your current org chart
    • Identify users who’ve changed roles or departments
  2. Validate Role Appropriateness:
    • For each user, confirm their RLS role matches their current position
    • Verify that managers see only their current direct reports
    • Check that access to sensitive data is still appropriate
  3. Remediate Issues:
    • Remove access for users who’ve left the company
    • Update roles for users who’ve been promoted or transferred
    • Add new users to appropriate roles
  4. Document Findings:
    • Create a report of all changes made
    • Document any access issues discovered
    • Track remediation dates and responsible parties

Organizational Changes:

When your organization restructures, your RLS must adapt:

  1. Manager Changes: When an employee gets a new manager, update the ManagerID in your HR system. Power BI RLS will automatically reflect this change on the next data refresh.
  2. Department Reorganization: If you reorganize departments, ensure your Department field in the Employee table is updated. Test RLS with View As to verify the changes apply correctly.
  3. Regional Expansion: When entering a new country, add the new country code and region to your Employee table, and test RLS for the new region.
  4. Mergers and Acquisitions: Integrate acquired company employee data into your semantic model, update organizational hierarchies, and test RLS thoroughly before rolling out to users.

Data Refresh Considerations:

RLS depends on your HR data being current:

  1. Establish Refresh Schedules:
    • Refresh your semantic model at least daily, ideally multiple times per day
    • Align refresh timing with your HRIS system refresh
    • Consider more frequent refreshes if you have high turnover or frequent reorganizations
  2. Monitor Refresh Failures:
    • Set up alerts if semantic model refresh fails
    • Have a backup plan to restore from the last successful refresh
    • Document and investigate all refresh failures
  3. Validate Data Quality:
    • Regularly audit your HR data for missing or incorrect manager relationships
    • Check for duplicate employee records
    • Verify that email addresses match Azure AD

Scaling RLS for Growth:

As your organization grows, your RLS implementation must scale:

  1. Large User Populations:
    • Use Azure AD security groups instead of individual user assignments
    • This scales linearly with organizational growth
    • Makes role management much simpler
  2. Complex Hierarchies:
    • Consider implementing a data warehouse that pre-calculates all manager-subordinate relationships
    • Use this pre-calculated data in your RLS formulas for better performance
    • Reduces reliance on complex DAX formulas
  3. Multiple Semantic Models:
    • As your HR analytics mature, you may have multiple semantic models (HR metrics, compensation, recruiting, etc.)
    • Implement consistent RLS across all models
    • Create a governance framework that defines how RLS rules are applied across models

For strategic guidance on scaling HR analytics across your organization, see Enterprise HR Analytics Strategy: A Complete Framework for CHROs.

Best Practices and Lessons Learned

Based on successful implementations across multinational organizations, here are key best practices:

1. Start Simple, Then Expand:
Begin with basic manager-level RLS (managers see their direct reports). Once that’s working reliably, add complexity like regional restrictions or compensation data filtering.

2. Use Email Addresses as the Universal Identifier:
Email addresses (UPN in Azure AD) are more reliable than usernames for RLS, especially in multinational environments where naming conventions vary.

3. Implement Audit Trails:
From day one, enable Power BI audit logging. This is essential for compliance and troubleshooting.

4. Involve Security and Compliance Teams:
RLS has security implications. Involve your security and compliance teams in design and testing.

5. Document Everything:
Keep detailed documentation of:

  • Your RLS design and DAX formulas
  • User-to-role assignments
  • Test results
  • Known limitations
  • Troubleshooting procedures

This documentation is invaluable when onboarding new team members or responding to audits.

6. Test with Real Users:
After deploying to the Power BI Service, have actual managers test the reports. They’ll often discover edge cases that your testing missed.

7. Plan for Exceptions:
Your RLS won’t perfectly handle every scenario. Have a process for granting temporary elevated access when needed (e.g., when a manager is on leave and a colleague needs to cover).

8. Monitor Performance:
RLS adds processing overhead. Monitor query performance and optimize as needed.

Integrating RLS with Agile HR Analytics

If you’re implementing RLS as part of a broader HR analytics initiative, platforms like Agile HR Analytics can significantly accelerate your deployment.

Agile HR Analytics provides:

  • Pre-built Data Models: Ready-to-use semantic models that include organizational hierarchy, compensation, and performance data—designed with RLS in mind
  • XAHA AI Assistant: An AI-powered assistant that helps HR teams explore data securely, respecting RLS boundaries
  • Ready-to-Use Dashboards: Curated HR dashboards that work seamlessly with your RLS implementation
  • Microsoft Stack Integration: Built on Power BI, Azure, and Azure OpenAI, ensuring compatibility and security
  • Local Hosting Options: Support for on-premises deployment, addressing data residency requirements for multinational organizations

By leveraging these capabilities, you can deploy manager-level RLS in weeks rather than months, with less custom development and greater confidence in data governance.

For a comprehensive overview of how Agile HR Analytics can support your HR analytics strategy, see Agile HR Analytics Platform Review: Power BI, Azure and Fabric in Practice.

Compliance and Regulatory Considerations

Multinational HR teams must ensure RLS implementation complies with regional regulations:

GDPR (Europe):

  • Implement RLS to ensure data processors see only necessary personal data
  • Maintain audit logs showing who accessed what data and when
  • Ensure data is processed only for legitimate HR purposes
  • Implement data minimization don’t expose unnecessary fields

CCPA (California):

  • Implement RLS to prevent unauthorized access to California residents’ personal information
  • Ensure individuals can request what data has been collected about them
  • Maintain audit trails for compliance verification

LGPD (Brazil):

  • Similar to GDPR, implement RLS to control access to Brazilian residents’ data
  • Ensure data is processed only for specified purposes
  • Maintain audit logs for accountability

Local Data Residency Laws:

  • Ensure RLS is implemented in conjunction with data residency controls
  • For example, EU data must be stored in EU data centers and accessed only by EU-based users

For a comprehensive framework addressing these requirements, review The Ultimate Guide to Workforce Planning for Regulated Enterprises.

Key Takeaways and Next Steps

Implementing manager-level row-level security in Power BI for multinational HR teams is a significant undertaking, but it’s essential for secure, compliant HR analytics. Here are the key takeaways:

Design Your Data Model First: A well-structured employee hierarchy and manager relationship table is the foundation of effective RLS.

Create Appropriate Roles: Develop RLS roles for different user types (managers, HR admins, compensation analysts, etc.) with DAX formulas that enforce your security policies.

Test Thoroughly: Use Power BI Desktop’s View As feature to test RLS with realistic user scenarios before deploying to production.

Assign Users via Security Groups: Use Azure AD security groups for scalable, maintainable user-to-role assignments.

Monitor and Maintain: Implement quarterly access reviews, monitor performance, and update RLS as your organization evolves.

Consider Compliance Requirements: Ensure your RLS implementation aligns with GDPR, CCPA, LGPD, and other applicable regulations.

Leverage Accelerators: Consider platforms like Agile HR Analytics that provide pre-built models, dashboards, and AI-powered insights with RLS already built in.

Your next steps:

  1. Review your current HR data model and organizational hierarchy
  2. Identify all user types who need access to HR data and what they should see
  3. Design your RLS roles based on these requirements
  4. Implement and test in Power BI Desktop
  5. Deploy to Power BI Service and assign users
  6. Establish monitoring and maintenance procedures

For additional resources on building comprehensive HR analytics capabilities, explore The Ultimate Guide to HR Analytics Dashboards for Senior HR Leaders and Best HR Dashboards 2026: Top Visualizations for People Leaders.

By implementing manager-level RLS in Power BI, you’re taking a critical step toward secure, compliant, and effective HR analytics that empowers managers to make data-driven decisions about their teams while protecting sensitive employee information.

Key takeaways

In this article

Share this post

Discover the Latest Insights

Stay informed with our blog posts.

On-Premises vs Azure-Hosted HR Dashboards for Regulated Industries

Understanding the Deployment Landscape for HR Analytics Organizations in regulated industries face a critical decision when implementing HR analytics solutions:

...

Agile HR Analytics vs OneModel: Microsoft-Native Workforce Planning Comparison

Overview: Why This Comparison Matters Choosing the right HR analytics platform is one of the most critical decisions a Chief

...

XAHA AI Assistant vs Generic Chatbots for HR Insights and Governance

Understanding the AI Assistant Landscape in HR The adoption of artificial intelligence in human resources has accelerated dramatically. Organizations are

...

Transform Your HR with Analytics

Unlock the power of data-driven HR decisions with Agile HR Analytics.
Contact us today for a consultation or demo.