Forum Discussion
W33628
7 years agoFrequent Visitor
RLS based on multiple columns
I have a mapping table that maps Users to the IDs that they have access to in my report. I then join this table to my main table in Power BI and then set up a role for my Row Level Security. This wo...
TeigeGao
7 years agoSolution Sage
Hi W33628 ,
In your scenario, we cna use lookupvalue function to get ID from the first table, then use or function to filter the data.
Best Regards,
Teige
- W336287 years agoFrequent Visitor
Where would I put that function? Would it be built into the Role I have defined? Can you provide an example?
- ncbshiva5 years agoAdvocate V
Hi All,
I also need solution for this. Can anyone help us ?
Regards,
Shiva
- SathyaG356 years agoFrequent Visitor
Hi,
I noticed you posted this answer can you please post any example code on how to handle it?