Forum Discussion
AZL
7 years agoFrequent Visitor
Sum the resultant values from Distinctcount function.
Hey All, I deadly need your helps guys. Let's say I have the following table: I want firstly to distinct count the values in Col1 based on Col2 to get: A1>>>2 B1>>>1 C1>>>1...
v-juanli-msft
7 years agoCommunity Support
Hi AZL
Assume you have the result as below
Per your requirement, you could create a measure
Measure = CALCULATE(DISTINCTCOUNT(Sheet3[col1]),ALLEXCEPT(Sheet3,Sheet3[col2]))
Best Regards
Maggie