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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
VahidDM
Super User
Super User

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
VahidDM
Super User
Super User

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors