Showing results for 
Search instead for 
Did you mean: 
New Member

Create Roles with multiple condition with DAX

Hello guys,

Please I want to create a role on my data to implement LRS. Is it possible to add multiple conditions using the && (AND) operator in DAX? if yes, how can I implement it?


I have done something like this ==> [UserId] = "Particular User Id" && [DepartmentId] = "Department Id"



Super User II
Super User II



Yes, It is possible.


You can use multiple conditions. Also, you can write DAX expressions using multiple variables and implement some tricky logic.

Nandu Krishna

Did I answer your question? Mark my post as a solution!
Appreciate with a kudos 👍

Proud to be a Super User!


Thanks, @nandukrishnavs. I understand that it can be implemented on a single table. But, how can I implement it for two different tables?





You can select other tables and write filter conditions.


Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors