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.
Hey, greetings all!
I have this measure which is used the CALCULATE function. In FILTER params, I have filtered ID = 3, but also I need to filter ID = 25 using OR operator. I have tried adding one more param like CALCULATE(COUNT(); ID = 3; ID = 25) but it doesn't work since I think the DAX understands as an AND operator. How can I filter both 3 and 25 IDs in the same CALCULATE function, like using IN SQL (ID in (3, 25)) operator?
Grateful
Solved! Go to Solution.
CALCULATE(COUNT(); ID = 3 || ID = 25)
If I answered your question, please mark my post as solution, this will also help others.
CALCULATE(COUNT(); ID = 3 || ID = 25)
If I answered your question, please mark my post as solution, this will also help others.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
99 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |