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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.