Forum Discussion
Heena_9980400
Helper IV
3 years agoNeed 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 cod...
amitchandak
Super User
3 years agoHeena_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-in-Power/td-p/712613
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi