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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply

Row level security

Since i dont have emloyee email data how can I do row level security based on the employee id noton the emloyee email address 
any direction for me ?

 

7 REPLIES 7
ChiragGarg2512
Solution Sage
Solution Sage

@prajaktakeni11 , So, either create as many roles as there are employees[Advised not to] or add another column to the employee ID table that holds employee email. Otherwise there is no way of connecting employees to the role.

ChiragGarg2512
Solution Sage
Solution Sage

@prajaktakeni11 , Assignment to the role is done with the help of user email and cannot be done by employee ID. In a way access is shared to those emailID for a particular role. For example, a role 'Viewer' is assigned to some people, this can only be acessed by people with the emailID of those users.

Hi @ChiragGarg2512 ,
Thank you for you reply... but i dont have email address in my table so can you please let me know workaround to this ?

 

@prajaktakeni11 when you ask for rls for do you mean to apply rls on employee ID or to give access to a role using employeeID?

@ChiragGarg2512  I want to apply RLS on Employee ID

@prajaktakeni11 So if a role is made, the person for the role can see data matching only his employee ID, Correct?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.