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
rommel20
Resolver I
Resolver I

RLS in Opportunity and Account (CRM)

Hi Team,

 

 

I need to filter Data in Opportunity using RLS based on its role.

 

user: tesuser1

Business Unit :  Group1

RLS : domainname = username()

*Group1 may contain more than 1 user

 

Requirement: (need to satisfy both requirements)


Opportunity Data where business unit is business unit log in user

Opportunity Data where Parent Account Owner is login user

 

I only created the first requirement using

 

       SystemUser --> Business Unit (get business unit) ---> Opportunity

 

My problem is 2nd Requirement because in RLS, Union and Merge is not working (regardless who is the user)

 

*already tried

 

 SystemUser --> Business Unit (get business unit) ---> Opportunity (Id) 

 SystemUser --> Account ---> Opportunity (Id), then merge both or new table then UNION

 

Please advice.

 

 123.JPG

 

1 ACCEPTED SOLUTION
rommel20
Resolver I
Resolver I

@v-shex-msft

 

I was able to resolved the problem using  Manage Role, which create another problem.

 

Level 1: see all data (no problem)

Level 2:  Same with Level 3 but Business Unit will get the Parent and Child

Level 3: Resolve (below)

 

Capture.JPG

View solution in original post

11 REPLIES 11

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.

Top Solution Authors
Top Kudoed Authors