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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
abdul452
Frequent Visitor

RLS to Admin Users

Hi Everybody,

Below is my table.

  1. I need help with setting RLS on the 'Company' column from the Company table, to populate respective 'Store' and 'StoreName' values.
  2. The result from 1, to be shown only to 'IsAdmin' users and within that 'Company' from the UserAccess table.

 

Company Table - 

 

Company StoreStore Name
1512251Target
1523250Lowes
1512252IFB
1534250Tyson
1522250HEB

 

UserAccess Table -

UserActiveDirectoryIDCompanyIsAdmin
1421E-A7E51511
24199-BA8B1521
38A27-47E31531
43244-BA8B1510

 

Expected Result for Company '151' -

 

Company StoreStore Name
1512251Target
1512252IFB

 

Expected Result for Company '152' -

 

Company StoreStore Name
1523250Lowes
1522250HEB

 

Appreciate your help. Thanks. @v-yiruan-msft , @MathiasChd , @VahidDM , @daxer-almighty 

1 ACCEPTED SOLUTION

Hi @abdul452 

 

Please see this link and complete the learning path.

 

https://docs.microsoft.com/en-us/learn/modules/row-level-security-power-bi/

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos🙏!!

View solution in original post

2 REPLIES 2

Hi @abdul452 

 

Please see this link and complete the learning path.

 

https://docs.microsoft.com/en-us/learn/modules/row-level-security-power-bi/

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.

Appreciate your Kudos🙏!!

Thank you @VahidDM 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors