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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
x2kibail
Helper I
Helper I

RLS using emails but data table does not have email values

I have a report with a large audience. It has two tables in it. The report has 2 pages, one for each table. 

 

I want to limit the ability to see the second page to specific people with a specific department, let's say it's Dept X. The first table, I want anyone with access to see. 

I want to create a custom field on the second table where every value has the department name, Dept X. Then use the custom column to relate the second table to my directory table. Then with RLS do something like ...

 

Show table when email = userprinciplename () AND department = 'Dept X' but I can't get it to work right. 

 

Any suggestions or alternatives? I'm likely being ambitious. I haven't used RLS before. 

 

I'm also planning to use Office365 groups in power bi service when assigning roles. I have a group with everyone in the company and a department based group. 

1 REPLY 1
Bipin-Lala
Super User
Super User

Hi @x2kibail,

 

I have answered a similar question about using RLS to hide pages in a previous post

Please refer to it and post any of your questions that remain unanswered, I will try to answer them.🙂




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors