Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48116

Re: Power BI Embedded Row-Level Security for Multiple values of single attribute

$
0
0

Hello,

 

There is no need to manage any OR conditions as that is why you have the Roles_Departments mapping table there for.

E.g. Your Roles_Departments mapping tables might have values like - 

 

Role_Id | Department_Id

R1 | D1

R1 | D2

R2 | D3

R3 | D2

R3 | D3

 

Now, if you pass the particular Role_Id you need via USERNAME(), the related departments will get filtered which will inturn all the related tables showing data only related to those filtered departments.

 

Hope, this will give you more clarity. If you still have any query, please do write back.

 


Viewing all articles
Browse latest Browse all 48116

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>