cancel
Showing results for 
Search instead for 
Did you mean: 
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. @yingyinr , @MathiasChd , @VahidDM , @daxer-almighty 

1 ACCEPTED SOLUTION
VahidDM
Resident Rockstar
Resident Rockstar

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
Resident Rockstar
Resident Rockstar

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

abdul452
Frequent Visitor

Thank you @VahidDM 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!