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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
vjnvinod
Impactful Individual
Impactful Individual

Row level security

Dear Experts

 

I have created a role

EMAIL adress=UserprincipalNAME()

and it works fine, as I am maintaining an Excel file which has list of country and Email id

 

the problem is that I need to give access to few email id who can see the entire dashboard

how can I configure the Row-level security?

1 ACCEPTED SOLUTION

5 REPLIES 5
blopez11
Super User
Super User

Just create another role, say "Full Access" and for the DAX expression, use 1 or TRUE()

Then assign those few users to the "Full Access" role

This will work as long as they are not part of the other role

vjnvinod
Impactful Individual
Impactful Individual

@blopez11 

 

what is use 1? or true()?

Can you write that code?

Anonymous
Not applicable

Hi @vjnvinod ,

Here are two ways to achieve your goal.

1. Create a Manager Role without any restriction.

User Role is the same like yours with code like EMAIL adress=UserprincipalNAME().

You don't need to add any code in Manager role. You need to add users in roles in Power BI Service. People in this role can see everything in this report. 

1.png

2. You can give these users who you want them see everything edit permission in workspace.

Classic workspace: Add these users as admin or member with edit permission.

New workspace: Add these users as admin , member or contribuer.

There won't be any restriction to these end users by rls. Other words, RLS won't work on these users.

Here is the offical blogs: Using RLS with workspaces in Power BI

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

blopez11_0-1639610879629.png

 

amitchandak
Super User
Super User

@vjnvinod , based on what I got. You need to give all countries along with email id.

 

example 

Country email

A1  a@abc.com

a2 a@abc.com 

 

and so on

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors