A Power BI developer needs to implement dynamic row-level security where each user sees only data matching their email in the Employee table. Which DAX expression correctly filters the model?

Power BI Hard

Power BI — Hard

A Power BI developer needs to implement dynamic row-level security where each user sees only data matching their email in the Employee table. Which DAX expression correctly filters the model?

Key points

  • `USERNAME()` returns the username without the domain.
  • `CURRENTUSER()` is not a valid DAX function for this purpose.
  • `USEROBJECTID()` returns a unique object ID, not the email.

Ready to go further?

Related questions