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
aka
Helper II
Helper II

to implement a security model

I have implement security model for following data structure.

 

Employee is sales rep and will only see his territory.Manager, and needs to see his own territory AND his Employee

I have tried creating roles and using Username() function on access as [access]=USERNAME() .

please give some suggestions. 

sample.PNG

1 REPLY 1
v-huizhn-msft
Employee
Employee

Hi @aka,

1. You create a role by clicking manage roles->create a new role->type [Access]=USERNAME().

2. Select the View as roles to test if you create the role correctly.

3. Publish the report to Power BI service. Select the dataset->Security. Add the member, apply the role to him. Then share the dashbord to them. 

More details, please reference to the articles.

Row level security with Power BI Embedded

Row-level security (RLS) with Power BI

 

If you have other issues, please feel free to ask.

Best Regards,

Angelia

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.