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

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.

Reply
Anonymous
Not applicable

RLS - Union of different dimensions / free DAX

Hello friends,

I need to give permission to a user so she coule see Budget[Project]="A" || Region[Country]="USA"

So she would all the data that is either Project = "A" or Country = "USA"

Where and how can I write this DAX expression in Roles Manager?

It is UNION condition (OR ||) with different dimensions but Role Manager combines the restriction from different dimensions as an INTERSECTION (AND &&)

Please help

Thank you 

Michael

1 ACCEPTED SOLUTION

Why not set up 2 roles and give her both roles. That should do it



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

2 REPLIES 2

Why not set up 2 roles and give her both roles. That should do it



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Anonymous
Not applicable

Great! Didn't know it was possible!

I think it'll be easier if they add "free DAX" expression for Role filtering

Thanks Matt!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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