Forum Discussion
prajaktakeni11
Helper I
2 years agoRLS based on Category
Hello , I have employee data with different role , I want to restrict data based on Resource type for example Employee (1) has resource type A and is location head can view only his data being a lo...
prajaktakeni11
Helper I
2 years agoI do have a Refrence Table , with USERNAME we are mapping it to Resource Type
lbendlin
Super User
2 years agoNeeds to be USERPRINCIPALNAME. their email address, basically.
- prajaktakeni112 years ago
Helper I
lbendlin Can't we do it with employee id USERNAME()......?,
and Could you please help me out on dax how can I restrict data based on Type for specific People- lbendlin2 years ago
Super User
For dynamic RLS you don't need anything else, but it must use USERPRINCIPALNAME, and your reference table must control the fact tables of the data model.
- prajaktakeni112 years ago
Helper I
Okay and what would be my dax to filter the data as per specific category ?