Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi there,
I have developed a PBI report showing employee's hours submitted on a Time Tracker application.
My aim is for employees to be able to access this report via a Power BI Online App and only see their data.
There are hundreds of employees so I cannot create an individual login for each.
When we come into work, we have a User ID and password which logs us into the network.
I have User ID in my Time Tracker report, so I somehow need to reference who is logged in to that computer?
Jemma
There is a DAX function called:
USERPRINCIPALNAME()
This will return the email (UPN) current logged in user.
Check out UPN part of this article to see how to use them in RLS:
Using the username() or userprincipalname() DAX function
Or check this atricle:
Love hearing about Power BI tips, jobs and news?
I love to share about these - connect with me!
Stay up to date on
Read my blogs on
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Thanks @SteveCampbell i'm half-way there using the articles you shared:
I don't know what to enter under Security in Power BI Online. I tried adding myself to the role, and testing as user and all the visualisations are blank. I'm stuck!
Thanks
Jemma
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 38 | |
| 31 | |
| 27 |