Forum Discussion
RethinkBI
3 years agoFrequent Visitor
Dynamic RLS with numbers instead of email addresses?
I am working on an embedded Power BI solution for our customers. I want to use row level security with Account IDs (e.g., '22343') instead of email addresses (e.g., '[email protected]'). Then, a de...
amitchandak
3 years agoSuper User
RethinkBI , You need to have table with email and account ID, account id can join with other tables. email id in this table can be filtered with USERPRINCIPAL
Only in the case of embedded power bi you can send USERPRINCIPAL of you choice.
RethinkBI
3 years agoFrequent Visitor
Thank you Amit....a developer colleague suggested this DAX code and it worked:
Account ID = Value(USERNAME())