Forum Discussion
kheira
5 years agoFrequent Visitor
count without duplicates
hi i have two columns and i want to count how many product id in statmeent without duplicates production with the same id how i can do that with dax?
- Anonymous5 years agoHello kheira
Count I want =VAR StatementCount =CALCULATE(DISTINCTCOUNT('Table'[Satement ID]))VAR ProductCount =CALCULATE(COUNT('Table'[Product ID]),ALL('Table'[Product ID]))RETURNProductCount - StatementCount