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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.