Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I am using function username() to filter data for users in my organisation so that they don't have to filter reports by name to see their data.
I have this problem, moste users get as result of function username() their email and some users get AD username like AD/name.lastname , then this filters isn not working.
How can I check or change this username source that function usrename() gets result ?
According to your description, you may try userprincipalname().
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 51 | |
| 42 | |
| 34 | |
| 33 | |
| 21 |
| User | Count |
|---|---|
| 143 | |
| 125 | |
| 100 | |
| 81 | |
| 63 |