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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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().
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 47 | |
| 32 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 71 | |
| 38 | |
| 28 | |
| 25 |