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
AmritaOS
Helper I
Helper I

Row Level Security - Bridge Table - Best Practice

Hi All,

 

I am new to RLS and need to implement it for a client report. i am looking for some advise on where to store my bridge tables? do i just create a table using DAX? save it locally on excel (i really dont want to do this), do i create it in the database? 

 

What is best practice? a solution that is scalable.

 

Thanks,

Amrita

1 ACCEPTED SOLUTION
mohammedadnant
Impactful Individual
Impactful Individual

Hi @AmritaOS 

 

2 things to consider, static or dynamic,

Static = Create role in Power BI Desktop --> publish the report --> assign users manually in Power BI Service

Dynamic = a table containing user details which can linked with the other tables in Power BI Desktop --> create a role in Power BI Desktop --> assign UserPrincipalname in the role in Power BI Desktop --> publish to power bi service

 

If you have SQL database then I recommend, create a table for this in SQL and import, if not you can upload the excel into sharepoint from there you can connect in Power BI,

beause whenever you need to add/remove a user you can do in the online excel and it will refresh accordingly.

 

Hope, you have got an idea how to do, Hit like if you like the answer.

 

Thanks & Regards,

Mohammed Adnan

https://www.youtube.com/c/taik18

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18

View solution in original post

4 REPLIES 4
mohammedadnant
Impactful Individual
Impactful Individual

Hi @AmritaOS 

 

2 things to consider, static or dynamic,

Static = Create role in Power BI Desktop --> publish the report --> assign users manually in Power BI Service

Dynamic = a table containing user details which can linked with the other tables in Power BI Desktop --> create a role in Power BI Desktop --> assign UserPrincipalname in the role in Power BI Desktop --> publish to power bi service

 

If you have SQL database then I recommend, create a table for this in SQL and import, if not you can upload the excel into sharepoint from there you can connect in Power BI,

beause whenever you need to add/remove a user you can do in the online excel and it will refresh accordingly.

 

Hope, you have got an idea how to do, Hit like if you like the answer.

 

Thanks & Regards,

Mohammed Adnan

https://www.youtube.com/c/taik18

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!

Thanks & Regards,
Mohammed Adnan
Learn Power BI: https://www.youtube.com/c/taik18
V-lianl-msft
Community Support
Community Support

AmritaOS
Helper I
Helper I

i have multiple users who require access to data from different states, some require only one state and some multiple. i want the RLS to be dynamic ie, pass username to determine access.

selimovd
Super User
Super User

Hey @AmritaOS ,

 

why do you need a bridge table?

What do you want to do with RLS?

 

Best regards

Denis

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.