Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Measure with user attendance

Hello,   I would like to calculate staff attendance to training sessions.   See the sample table below. I guess I am getting all to show 100% because the DISTINCTCOUNT is being filtered by user ...
  • tex628's avatar
    7 years ago

    I think this should work: 

    Measure = 
    DIVIDE(DISTINCTCOUNT('Sample'[Session]) , CALCULATE(DISTINCTCOUNT('Sample'[Session]) , ALL('Sample')) , BLANK())