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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Filter report with RLS

Hello
Happy New Year 2021 and most importantly very good health for you and your loved ones.

I have a question.


I have a table that comes from AD with UPN and the name of the company (there are a lot of different (large group of companies).

I would like to do a sort via RLS which when the person connects that he only sees his company's data and not the others.
I did this with the userprincipal name, but I only see its data.

Thank you for your answers

7 REPLIES 7
Anonymous
Not applicable

Hi @Anonymous ,

Could you please provide some sample data(exclude sensitive data) in your model? Whether you have the table as below, and he only can see the data from Company A when account aax@123.com access to the report? 

Company UPN
A aa1@123.com
A aa2@123.com
A aa3@123.com
B bb1@456.com
B bb2@456.com
C cc1@789.com
C cc2@789.com
C cc3@789.com
C cc4@789.com

Best Regards

Anonymous
Not applicable

Hello @Anonymous , 

 

I will do. 

Thank you 

aj1973
Community Champion
Community Champion

Hi @Anonymous 

How are you deploying the RLS?

Did you follow these steps?

https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Anonymous
Not applicable

Helllo @aj1973 , 

 

Yes I try with his UPN but I dont get what I expect. 

My report have a lot of data from several entity and every entity have employees.

If an employee connect to the report, I want that he sees only the data from his entity and that only when he logged in.

 

aj1973
Community Champion
Community Champion

I am sorry what do you mean by "his UPN"?

Also it doesn't matter how much data the report has or the number of entities. What matters is how to manage the Roles and filters in your desktop

aj1973_0-1610210038983.png

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Anonymous
Not applicable

@aj1973 , 

 

I try to add a role test like this 

thumbnail_image.png

 

 

 

But I see only his own data and not the data of his entity

aj1973
Community Champion
Community Champion

Because you are not filtering his data! 

For example, in that same role "test" filter something from Produits Tables or any other table and try again.

Here is an example

aj1973_0-1610211354127.pngaj1973_1-1610211384132.png

 

Let me know

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.