Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
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"
Yes, It is possible.
You can use multiple conditions. Also, you can write DAX expressions using multiple variables and implement some tricky logic.
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?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |