Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
CALCULATE(COUNT(); ID = 3 || ID = 25)
If I answered your question, please mark my post as solution, this will also help others.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 48 | |
| 42 |