Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Distinct count based on another column

I have a table, which contains column name IDNR and other columns, I want to count IDNR based on column TYPE, where TYPE= ABC.
  • Anonymous's avatar
    Anonymous
    6 years ago

    Anonymous 

     

    Measure 2 = CALCULATE(DISTINCTCOUNT('Table'[IDNR]),'Table'[Type]="ABC")

     

     do you want to count number of rows where type= "ABC"?