Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Match and Count

Hello, I searched for this in the forums, but I think I'm using the wrong terms and it's not a "match and count".   I'd like to take the "Employee ID" data and count how many times it appears in the...
  • lkalawski's avatar
    5 years ago

    Hi Anonymous ,

    You can use this measure:

    CountOfEmployeeId = 
    CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'), 'Table'[MGR_EMPLID] = SELECTEDVALUE('Table'[EMPLOYEE ID])))

     

    Proud to be a Super User.
    If I helped, please accept the solution and give kudos
    Linkedin