I have a table, which contains column name IDNR and other columns, I want to count IDNR based on column TYPE, where TYPE= ABC.
Solved! Go to Solution.
Measure 2 = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),'Table'[Type]="ABC")
do you want to count number of rows where type= "ABC"?
I think you mean the TYPE column contains A, B, C.
Result = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),ALLEXCEPT('Table',Table[TYPE]))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Measure 2 = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),'Table'[Type]="ABC")
do you want to count number of rows where type= "ABC"?
User | Count |
---|---|
386 | |
229 | |
115 | |
107 | |
98 |