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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Users email not filtering through the data via RLS - potential service permission issue?

Dear community,

We have a model design in SSAS that is then queried via live connection.
The model contains a users table that we use to regulate who accesses what data, as seen below:

andriiK_0-1703066639336.png


The DAX used to filter data is:

 

=PATHCONTAINS(Users[ManagementPath],
MaxX(
Filter(
Users,
[Email]= USERPRINCIPALNAME()
)
,Users[EmployeeNumber]
)
)

 

 

 


Now i was wondering if it is some issue because of Service permissions ? Because we tried the following so far:

1: Validated users email / principalname because the users group comes from Azure Domain, and we verified there are no domain changes.

2: We chaged the user A email to someone elses (user B with exact same domain) and the User B could see all the data clearly, so we assume the data relationships and row filters work.

3. The interesting part is that users table is used to also filter other tables and it works for the user A on overview report, the only part that doesnt filter data (shows all  blank) is on drillthroughs.

 

Happy for anny suggestions

1 REPLY 1
Anonymous
Not applicable

You could create a report that is just what the drill thru page contains and test that alone with each user. I know it is not an answer, but it is a path to debugging issue. Especially, since every thing else works.

Also, place the USERPRINCIPAL in a measure and display on erach page to see if something is up with the matching names.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.