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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
3508026
Helper II
Helper II

RLS filter combination DAX USERPRINCIPALNAME and Data filter

When creating a role to define filters, would it be possible to use filters that combine both the DAX expression "USERPRINCIPALNAME()" and another filter?

Example: Two fields in the same table: Manager / Segment

[Manager] = USERPRINCIPALNAME()
[League] = "Field Sales"

1 ACCEPTED SOLUTION

Yes this is possible
Just use [Manager] = USERPRINCIPALNAME() && [League] = "Field Sales"


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

View solution in original post

4 REPLIES 4
3508026
Helper II
Helper II

I have created the role applying these filters, is it correct?
[League] = "Field Sales" || [Manager] = USERPRINCIPALNAME()

If you need both condition to be true then use  [Manager] = USERPRINCIPALNAME() && [League] = "Field Sales"
Or if you want any condition to be true then can use above


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!
3508026
Helper II
Helper II

The idea is create a Rol (Eg Mgr and Segment) that uses both filters

Yes this is possible
Just use [Manager] = USERPRINCIPALNAME() && [League] = "Field Sales"


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.