cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ait-james
Frequent Visitor

RLS based to userprincipalname value in Power BI desktop

Hello everyone,

 

1) This is my data model :

Aitjames_0-1636904310922.png

2)

Data of sheet 1

Aitjames_2-1636904447154.png

Data of sheet 2

Aitjames_3-1636904526169.png

 

3) I created of role dedicated for filtring data based to the value of the field C5. Exp xknd5239@aaa.com

Aitjames_4-1636904638350.png

4) When I try "View as", I don't see any changes in my data.

Aitjames_6-1636904826893.png

 

Could you please help me to fix that ?

 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You can create roles in Power BI Desktop but assigning people to roles is done in the service. See here:
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#working-with-members

 

It's not filtering for xknd5239@aaa.com since it doesn't know that this user corresponds to the new role you've created.

View solution in original post

2 REPLIES 2
Ait-james
Frequent Visitor

Thank you !

AlexisOlson
Super User
Super User

You can create roles in Power BI Desktop but assigning people to roles is done in the service. See here:
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#working-with-members

 

It's not filtering for xknd5239@aaa.com since it doesn't know that this user corresponds to the new role you've created.

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors