The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |