Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 22 | |
| 10 | |
| 9 | |
| 7 | |
| 6 |