Forum Discussion
Dax Expression for Dynamic Row level security
- 4 years ago
Anonymous wrote:
Hi thanks for your response, Yes i understand that would be the easy fix and would work however was wondering about the other way to do it via DAX in which can filter these tables.
So if you want the harder to implement solution with worse performance you could probably do something like the following on the 'RUF Contract Bridge' table.
'RUF Contract Bridge'[Level 4] in CALCULATETABLE( VALUES('Corporate RLS Access'[Level 4]), 'Corporate RLS Access'[Email] = USERPRINCIPALNAME() )
Hi thanks for your response, Yes i understand that would be the easy fix and would work however was wondering about the other way to do it via DAX in which can filter these tables.
- d_gosbell4 years agoSuper User
Anonymous wrote:
Hi thanks for your response, Yes i understand that would be the easy fix and would work however was wondering about the other way to do it via DAX in which can filter these tables.
So if you want the harder to implement solution with worse performance you could probably do something like the following on the 'RUF Contract Bridge' table.
'RUF Contract Bridge'[Level 4] in CALCULATETABLE( VALUES('Corporate RLS Access'[Level 4]), 'Corporate RLS Access'[Email] = USERPRINCIPALNAME() )
- skidave741 year agoNew Member
This is exactly what I needed, thanks.