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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nimp_kp
Frequent Visitor

RLS with no relationship

Hi

 

I'm trying to implement RLS in a datamodel with no apparent relationship between the user table and the transaction table.

I want all managers to be able to see all the data in the transaction table, and the non-managers to see no data.

 

Would this be possible?

 

User table:

UserIsManagerEmailUsername
A0a@mail.comdomain\a
B1b@mail.comdomain\b
C0c@mail.comdomain\c

 

Transaction table:

Transaction IDValue
1100
2300
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@nimp_kp , Create a new column in the transaction table and have value =1

 

user type =1

 

join this with IsManager (Many to many, Bi directional or use filter Fact)

 

Then create role with filter on user table

[Email] = userprincipalname()

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@nimp_kp , Create a new column in the transaction table and have value =1

 

user type =1

 

join this with IsManager (Many to many, Bi directional or use filter Fact)

 

Then create role with filter on user table

[Email] = userprincipalname()

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.