Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I've searched the internet for help but am coming up with nothing regarding this seeminly similar and likely, common business case: to filter a fact table based on the value of the Username() function.
The pieces I have are:
Simply, I'd like to:
Thanx in advance.
jrp
Further, trying to avoid a RLS due to ongoing maintenance required to add, edit, delete user emails in dataset security.
thanx
jrp
Hi @pawlowski6132 ,
USERNAME() function helps to return the user domain login with the form of (Domain\User) in the locality or your local system.
Without a security configuration on your report you will see unique identifier for username which isn’t useful.
https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple
USERPRINCIPALNAME() function helps to return the user principal name with the form of (User’s login credential or xxxx@<tenant>onmicrosoft.com) in the Power BI Online Service.
You may try to use USERPRINCIPALNAME() function.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, thanks, I am using USERPRINCIPALNAME().
I am still hoping someone can share scenario where they've used this function in a solution to filter data by user OUTSIDE the Dynamic RLS solution.
I've read both the articles in the link above and still, I don't want to use the DRLS solution because I don't want ANY maintenance or administration of users required in the DRLS solution. And frankly, I shouldn't have to.
If i have a lookup table that provides Users and Authorizations, and I can understand who is using my report, why would I be foreced to use DRLS solution??
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
89 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |