Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Gopal_PV
Helper III
Helper III

How to implenent Dynamic RLS in Power BI Projects

Hi Folks,

 

I am new to RLS. Never worked . 

 

Can you please help me how to implemnt Dynamic RLS on Power BI. How companies implementing in relatime.

Ex Source: SQL Server, Excel

if you can detail that would be great help for me.

 

 

Regards,

 

1 ACCEPTED SOLUTION
BhavinVyas3003
Super User
Super User

  1. Create a User Mapping Table
    Prepare a table (from Excel or SQL Server) that maps users to specific data segments.                                                                                                                   

    UserEmail

    Region

    user1@domain.com

    East

     
  2. Load Data into Power BI
    Import both your main data (e.g., sales data with a 'Region' column) and the user mapping table into Power BI.
  3. Establish Relationships
    Create a relationship between the 'Region' field in both tables:

               UserAccess[Region] → SalesData[Region]

 

       4. Define RLS Roles in Power BI Desktop

           Navigate to Modeling → Manage Roles.

           Create a new role (e.g., 'RegionalAccess').

           Apply the following DAX filter on the 'UserAccess' table:

           DAX

           [UserEmail] = USERPRINCIPALNAME()

 

           5. Test the Role
           Use Modeling → View as Roles to simulate and verify the RLS behavior for different users.

 

           6. Publish and Assign Roles in Power BI Service

    • Publish the report to the Power BI Service.
    • In the workspace, go to Datasets → Security.
    • Assign users to the defined roles.

 

Refer these links for more details,

 


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

View solution in original post

3 REPLIES 3
v-bmanikante
Community Support
Community Support

Hi @Gopal_PV ,

 

We would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.

 

If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,

B Manikanteswara Reddy

Hi @Gopal_PV ,

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

B Manikanteswara Reddy

BhavinVyas3003
Super User
Super User

  1. Create a User Mapping Table
    Prepare a table (from Excel or SQL Server) that maps users to specific data segments.                                                                                                                   

    UserEmail

    Region

    user1@domain.com

    East

     
  2. Load Data into Power BI
    Import both your main data (e.g., sales data with a 'Region' column) and the user mapping table into Power BI.
  3. Establish Relationships
    Create a relationship between the 'Region' field in both tables:

               UserAccess[Region] → SalesData[Region]

 

       4. Define RLS Roles in Power BI Desktop

           Navigate to Modeling → Manage Roles.

           Create a new role (e.g., 'RegionalAccess').

           Apply the following DAX filter on the 'UserAccess' table:

           DAX

           [UserEmail] = USERPRINCIPALNAME()

 

           5. Test the Role
           Use Modeling → View as Roles to simulate and verify the RLS behavior for different users.

 

           6. Publish and Assign Roles in Power BI Service

    • Publish the report to the Power BI Service.
    • In the workspace, go to Datasets → Security.
    • Assign users to the defined roles.

 

Refer these links for more details,

 


Thanks,
Bhavin
Problem solved? Hit “Accept as Solution” and high-five me with a Kudos! Others will thank you later!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.