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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors