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! It's time to submit your entry. Live now!
Dears ,
I had to specfiy Multiple Values With Filter function with OR , instead OR function Like in SQL can be user " IN " function please advise.
Solved! Go to Solution.
You can use like below:
CALCULATE(
DISTINCTCOUNT('FactSales'[Sales ID]),
FILTER('dimSales',[Status] IN { "Opened ","Closed" })
)
Hi @unais ,
About the use of IN, this document is very detailed.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @unais ,
About the use of IN, this document is very detailed.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can use like below:
CALCULATE(
DISTINCTCOUNT('FactSales'[Sales ID]),
FILTER('dimSales',[Status] IN { "Opened ","Closed" })
)
| User | Count |
|---|---|
| 55 | |
| 39 | |
| 36 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 102 | |
| 59 | |
| 36 | |
| 35 |