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.
Hi,
I have a table in my database with userid and the departments associated with it.
What I need to do is, get the AD user logged on to Power BI and match it with my table in database and display only specific departments to that user.
Any idea how do I get the AD user id.
Online, I could only find content related to bringing the AD data into powerBI. I want to do it without pulling the whole of AD data.
Thanks in advance.
Solved! Go to Solution.
The USERPRINCIPALNAME() function in DAX gives you the email address of the user. What you are trying to do sounds a lot like RLS (Row Level Security) - have you looked into that?
The USERPRINCIPALNAME() function in DAX gives you the email address of the user. What you are trying to do sounds a lot like RLS (Row Level Security) - have you looked into that?
Thanks,
I will check this.
Ya, I am trying to implement row level security.
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 |
---|---|
111 | |
94 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |