Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ivan_larson_cki
Helper III
Helper III

Validate User by Existing List

I have a report where I expect who needs access to be more dynamic than I can keep up with by our normal permissioning. To get around this, I'm planning to user a link that gives everyone in our organization access, but then limit access to data within the dataset to a list of valid users I'm loading from another system. If the user is on that list, they should have access. Otherwise, the data in the report should not be visible.

 

RLS is not an option because users get an error unless I assign them individually to a role. I'm trying to add a filter in the report based on USERPRINCIPALNAME() matching the email on the table listing valid users, but I'm not finding a way to do this given that USERPRINCIPALNAME() is only valid in a measure. Is this possible?

3 REPLIES 3
lbendlin
Super User
Super User

Read about dynamic RLS.

Yep, I've read up on it. But everything I've found on it (such as this article: https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple) still requires adding users individually to the Security list in PBI Service, which is what i'm hoping to avoid.

You can choose to use Distribution Lists for app access. But yes, at some point these need to be maintained too.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Kudoed Authors