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

Sharing Power BI report with hundreds of users with dynamic filtering

Hi,

 

I am developing a Power BI report that has data for few metrics along with few dimensions. An important dimension is, for instance, dealers and we have data for around 200+ dealers. The requirement is to share the report with all those 200+ dealers(users) and each dealer is supposed to see only his/her data when they open the report. For this use case what is the best way of sharing the report(as we have 200+) and how can we achieve the security part of it - i.e. retailer A should not see B's data.

 

Thanks & Regards,

Kesavan.

1 ACCEPTED SOLUTION
V-pazhen-msft
Community Support
Community Support

@Anonymous 

 

You need to use Dynamic Row level Security, in order to do so you should  have recorded your Dealer names with data for each dealers. Please refer to: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

For dynamic RLS, you could use username() or userprinciplename() as the role filter, it depends on how did you record the dealer names. The difference is username() is in the format of DOMAIN\User and userprincipalname() will return a user power bi account(email) in the format of user@contoso.com

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

View solution in original post

4 REPLIES 4
V-pazhen-msft
Community Support
Community Support

@Anonymous 

 

You need to use Dynamic Row level Security, in order to do so you should  have recorded your Dealer names with data for each dealers. Please refer to: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

For dynamic RLS, you could use username() or userprinciplename() as the role filter, it depends on how did you record the dealer names. The difference is username() is in the format of DOMAIN\User and userprincipalname() will return a user power bi account(email) in the format of user@contoso.com

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
 

Anonymous
Not applicable

Hi, 

 

Does this dynamic RLS solution work even for external users ? Because the 200+ dealers that we want to share with are the external users..

 

Thanks & Regards,

Kesavan.

@Anonymous 

In order to make RLs work with external users, you can invite those external users as guest users. Then, those guests can be assign to the RLS group.

 

Please refer: https://docs.microsoft.com/en-us/power-bi/admin/service-admin-azure-ad-b2b

 

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
  

Greg_Deckler
Super User
Super User

You are going to want to implement dynamic row level security:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Hierarchical-Row-Level-Security/m-p/...


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.

Top Solution Authors
Top Kudoed Authors