Forum Discussion
_Alex_
7 years agoNew Member
DAX Help: Unique count by row II
Suppose I have a dataset as follows: Car_ID Owner_Name Car_Owner_State Unique_State_Count 1 Adam FL 2 1 Bob F...
- 7 years ago
Hi _Alex_
Created calculated column
Unique_State_Count1 = CALCULATE(DISTINCTCOUNT(Table1[ Car_Owner_State]),ALLEXCEPT(Table1,Table1[Car_ID]))
Or measure
Measure = CALCULATE(DISTINCTCOUNT(Table1[ Car_Owner_State]),ALLEXCEPT(Table1,Table1[Car_ID]))
Best Regards
maggie
Zubair_Muhammad
Community Champion
7 years agoHi
Try with
Calculate(distinctcount (table1[carownerstate]), allexcept (table1,table1 [car id]))
Try with
Calculate(distinctcount (table1[carownerstate]), allexcept (table1,table1 [car id]))