Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Discount Count

Hi Experts,

 

Below is my sample data. Marked red ones are staff who resigned. I need to the count distinctvalues of staff Name who haven't resigned. 

 

Please helpe me!

Thank you

2 Replies

  •  

    Result measure : =
    COUNTROWS (
    SUMMARIZE (
    FILTER ( 'Table', NOT ( CONTAINSSTRING ( 'Table'[Staff Name], "resign" ) ) ),
    'Table'[Staff Name]
    )
    )
     
     
     
     
    • Anonymous's avatar
      Anonymous
      Not applicable

      Awesome. Thank you very much Jihwan