Forum Discussion
unais
6 years agoHelper V
Using " IN " Function
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.
- 6 years ago
- 6 years ago
You can use like below:
CALCULATE( DISTINCTCOUNT('FactSales'[Sales ID]), FILTER('dimSales',[Status] IN { "Opened ","Closed" }) ) - 6 years ago
Hi unais ,
About the use of IN, this document is very detailed.
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tahreem24
6 years agoSuper User
You can use like below:
CALCULATE(
DISTINCTCOUNT('FactSales'[Sales ID]),
FILTER('dimSales',[Status] IN { "Opened ","Closed" })
)