Hello All,
We are migrating from import mode to direct query mode and would like to implement the same RLS we have in import mode. Unfortunately, our RLS uses LOOKUPVALUE function which is not supported in direct query. Here is our current RLS expression.
[V] = LOOKUPVALUE(
'Sec'[V],
'Sec'[User],USERPRINCIPALNAME(),
'Sec'[V],'DIM'[V]
)
||
[PC] = LOOKUPVALUE(
'Sec'[PC],
'Sec'[User],USERPRINCIPALNAME(),
'Sec'[PC],'DIM'[PC])
Single user can have multiple V's or PC's. I have tried multiple things but it is not working as expected. Could you please help me with this?