Forum Discussion
Anonymous
3 years agoNot applicable
Customer Distinct Count with Multiple Conditions
Hi Experts, Need your help to calculate distinct count of my customers by "Customer code" where SalesQty sum of basepack code "6A43B3A48TV170301" & "6A43B3A48TV170303" is equal or greater than 8. ...
v-chenwuz-msft
3 years agoCommunity Support
Hi Anonymous ,
Try this measure:
=
COUNTROWS (
FILTER (
'CustomerSales',
OR (
[Basepack Code] = "6A43B3A48TV170301",
[Basepack Code] = "6A43B3A48TV170303"
)
)
)
And put it in the filter pane of this table visual then set it show items which is equal or greater than 8
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
Hi v-chenwuz-msft, maybe I couldn't make you understand my requirement. I need to check how many customers have purchased more than or equal 8 units of combined basepack "6A43B3A48TV170301" & "6A43B3A48TV170303". But each of the basepack purchase must not be less than 1.