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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
rajasekar_o
Helper V
Helper V

Row level security_

HI TEAME,
I need help
i want to set Row level security  for BM ,RM ,FULL ACCESS
I HAVE table 

ASMAREAGROUPBMIDBM EMAILRM IDRM EMAIL
RAMCHENNAITNBM001CHBM@GMAIL.COM  
KUMARMADURAITNBM002MDUBM@GMAIL.COMRM001RMN@GMAIL.COM
VINOTHSELAMTNBM003SABM@GMAIL.COMRM001RMN@GMAIL.COM
VISUMYSURUKABM004BMMSY@GMAIL.COMRM002RMK@GMAIL.COM
RAMKAVERIKABM005BMKV@GMAIL.COMRM002RMK@GMAIL.COM
SELVIBANGALURUKABM005BMKV@GMAIL.COMRM002RMK@GMAIL.COM

FULL ACCES USER

NAMEUSERID ACCES TYPEAREA
KALAIKALAI@MAIL.COMFULL ACCESSCHENNAI
KALAIKALAI@MAIL.COMFULL ACCESSMADURAI
KALAIKALAI@MAIL.COMFULL ACCESSSELAM
KALAIKALAI@MAIL.COMFULL ACCESSMYSURU
KALAIKALAI@MAIL.COMFULL ACCESSKAVERI
KALAIKALAI@MAIL.COMFULL ACCESSBANGALURU
SONUSONU@GMAIL.COMFULL ACCESSCHENNAI
SONUSONU@GMAIL.COMFULL ACCESSMADURAI
SONUSONU@GMAIL.COMFULL ACCESSSELAM
SONUSONU@GMAIL.COMFULL ACCESSMYSURU
SONUSONU@GMAIL.COMFULL ACCESSKAVERI
SONUSONU@GMAIL.COMFULL ACCESSBANGALURU

SALES DATA 

ASMSALES
RAM145982
KUMAR23542
VINOTH234234
VISU2354
RAM34223
SELVI23452

BM NEED NEED TO ACCES THER DATA ONLY
RM NEED TO ACCESS RELATED BM SALES DATA
FULL ACCESS USER NEED ACCES RELATED AREA SALES  

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rajasekar_o ,

 

Please follow these steps:

 

1. Define roles in Power BI Desktop:

 

Navigate to the Modeling tab and select Manage Roles.

vhuijieymsft_0-1715912508976.png

 

vhuijieymsft_1-1715912508978.png

 

Create three roles: BM, RM, and Full Access.

 

For the BM role:

vhuijieymsft_2-1715912526942.png

vhuijieymsft_3-1715912526945.png

 

For the RM role:

vhuijieymsft_4-1715912538150.png

 

For full access, filters are not needed as they should allow access to all data.

vhuijieymsft_5-1715912538153.png

 

If you don't want to see the entire contents of the table, enter the following expression.

vhuijieymsft_6-1715912557404.png

 

2. Assign users to roles in the Power BI service:

 

After publishing the report to Power BI Service, go to Dataset Settings.

vhuijieymsft_7-1715912557404.png

 

Under Security, assign users to the roles you defined based on their email addresses.

vhuijieymsft_8-1715912570729.png

 

3. Test RLS:

 

In Power BI Desktop, use the View as Role feature to test by simulating different roles.

vhuijieymsft_9-1715912570731.png

 

For more details please see:

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

Row-level security (RLS) guidance in Power BI Desktop - Power BI | Microsoft Learn

 

The pbix file is attached.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @rajasekar_o ,

 

Please follow these steps:

 

1. Define roles in Power BI Desktop:

 

Navigate to the Modeling tab and select Manage Roles.

vhuijieymsft_0-1715912508976.png

 

vhuijieymsft_1-1715912508978.png

 

Create three roles: BM, RM, and Full Access.

 

For the BM role:

vhuijieymsft_2-1715912526942.png

vhuijieymsft_3-1715912526945.png

 

For the RM role:

vhuijieymsft_4-1715912538150.png

 

For full access, filters are not needed as they should allow access to all data.

vhuijieymsft_5-1715912538153.png

 

If you don't want to see the entire contents of the table, enter the following expression.

vhuijieymsft_6-1715912557404.png

 

2. Assign users to roles in the Power BI service:

 

After publishing the report to Power BI Service, go to Dataset Settings.

vhuijieymsft_7-1715912557404.png

 

Under Security, assign users to the roles you defined based on their email addresses.

vhuijieymsft_8-1715912570729.png

 

3. Test RLS:

 

In Power BI Desktop, use the View as Role feature to test by simulating different roles.

vhuijieymsft_9-1715912570731.png

 

For more details please see:

Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn

Row-level security (RLS) guidance in Power BI Desktop - Power BI | Microsoft Learn

 

The pbix file is attached.

 

If you have any other questions please feel free to contact me.

 

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.