cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Purushoth85
Advocate I
Advocate I

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!

daxcount.PNG

Thank you

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Picture2.png

 

Result measure : =
COUNTROWS (
SUMMARIZE (
FILTER ( 'Table', NOT ( CONTAINSSTRING ( 'Table'[Staff Name], "resign" ) ) ),
'Table'[Staff Name]
)
)
 
 
 
 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Picture2.png

 

Result measure : =
COUNTROWS (
SUMMARIZE (
FILTER ( 'Table', NOT ( CONTAINSSTRING ( 'Table'[Staff Name], "resign" ) ) ),
'Table'[Staff Name]
)
)
 
 
 
 

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

Awesome. Thank you very much Jihwan

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.