Forum Discussion
Postigo
4 years agoFrequent Visitor
Using distinctcount as a filter
Hello everyone, here is a issue i'm facing: i have two tables (Products and Sales) and i need to have a measure to show me how many products i have that more than 3 different Clients bought(in ...
- Anonymous4 years agovar Table1 =Filter(SUMMARIZE('Product','Product'[SK_PRODUCT],"teste",DISTINCTCOUNT(Sales[SK_CLIENT])),[teste]>3))returnCOUNTROWS(Table1)
Anonymous
4 years agoNot applicable
var Table1 =
Filter(
SUMMARIZE(
'Product',
'Product'[SK_PRODUCT],
"teste",DISTINCTCOUNT(Sales[SK_CLIENT])
),
[teste]>3)
)
return
COUNTROWS(Table1)
- Postigo4 years agoFrequent Visitor
Perfect James!!
Thanks a lot