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
How do I check if the user who logged in to power BI is present in the table that he creates and whether or not he has access to Power BI data?
Solved! Go to Solution.
@mtzzwr - Sorry, not quite understanding this. You can use USERPRINCIPALNAME function to get the identity of the user. USERPRINCIPALNAME function (DAX) - DAX | Microsoft Docs
Not quite understanding things beyond that in terms of what you are trying to do.
@mtzzwr
You would need to use USERPRINCIPALNAME to perform a dynamic RLS. Please refer to the below link:
USERPRINCIPALNAME – show user name and use it in RLS (DAX – Power Pivot, Power BI) – ExcelTown – kur...
Remember Report Server is not same as Power bi Service: Row-level security (RLS) in Power BI Report Server - Power BI | Microsoft Docs
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@mtzzwr
You would need to use USERPRINCIPALNAME to perform a dynamic RLS. Please refer to the below link:
USERPRINCIPALNAME – show user name and use it in RLS (DAX – Power Pivot, Power BI) – ExcelTown – kur...
Remember Report Server is not same as Power bi Service: Row-level security (RLS) in Power BI Report Server - Power BI | Microsoft Docs
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@mtzzwr - Sorry, not quite understanding this. You can use USERPRINCIPALNAME function to get the identity of the user. USERPRINCIPALNAME function (DAX) - DAX | Microsoft Docs
Not quite understanding things beyond that in terms of what you are trying to do.
can I define a condition to only perform a certain function if my table has the user who is logged in?
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 |
|---|---|
| 4 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |