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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

User Access Rights to view specific data, Segregation, Filter.

Hi Everyone,

 

I am new here though I have been powerBI user for a long time now. I have run into a problem for which I am catering a solution.

 

So I am creating a dashboard for all the Head of Departments at my organization where there is an aggregated dataset which contains information such as Appraisal Review Ratings, Salary, Employee Names(Row Wise) and other metrics.

 

The data looks like this

 

Name         Rating          Salary            Last Promotion     HOD
ABC          Excellent       $20000            3 Years Ago        JFK
XYZ          Average         $30000            2 Years Ago        PFF

 

Given this aggregated dataset with about 3000 rows, We have 52 Unique HODs and I want to give access to HODS with the view of their team only, Such that if PFF logins, he shouldn't see information about JFK , But only PFF.

 

I need to understand how can this be done. I have one PowerBI Pro license for each HOD.


Hope this is clear? Looking forward to hear

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a user mapping table with user account and employee and build relationship to specific table.

After these, you can enable RLS based on username to dynamic filter related records.

RLS with UserName()

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @Anonymous ,

 

You can create a user mapping table with user account and employee and build relationship to specific table.

After these, you can enable RLS based on username to dynamic filter related records.

RLS with UserName()

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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