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
Heena_9980400
Helper III
Helper III

Need help on applying RLS

Hi Experts,

 

I have attached a screenhsot below where i need to apply RLS,where if a cx selects company code-01, he should see all countries from company code 1, like same wise for all company code i need to implement same.

Please could you help me out on this.

Heena_9980400_1-1675002005790.png

 

Thanks in advance,

 

Regards,

HK

1 REPLY 1
amitchandak
Super User
Super User

@Heena_9980400 , Assume you have company dimension joined with your fact or fact has company code

 

Create a Table with the company Code, segment, and email, and that should have all the details. Join it with dimension and fact and create RLS on this new table

 

How to use Row Level Security (RLS): https://youtu.be/NfdIA0uS6Nk

 

https://community.powerbi.com/t5/MBAS-Gallery/Microsoft-Power-BI-Unleash-row-level-security-patterns...
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

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.

Top Solution Authors