Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Count distinct values (Names) from Names Row containing multiple names

Screenshot 2020-03-14 at 12.25.42 AM.png

 

I am trying to get the disticnt count of "each" user in the coumn "Ticket opened by", any help on this please...

I am trying to find the numbers for only few users from the list.

There are more than 1000 users in that list, i just want 50 hand picked users (not top 10) but Unique individuals.

 

4 REPLIES 4
az38
Community Champion
Community Champion

Hi @Anonymous 

try to create a measure

Measure =
CALCULATE(DISTINCTCOUNT(Table[Ticket Number]), ALLEXCEPT(Table, Table[Ticket opened by]))

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

But, how will this give me distict count for each user?

 

For Ex: If I want to find the count of Zhou, Lin in the column??

Put you Ticket Opened By column in a visual. Then put Ticket Number and do a Count (Distinct) aggregation.

 

Is that what you want @Anonymous ?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hey, Thanks for the reply... But that's not what I am looking for.

 

I am trying to find the numbers for only few users from that list.

 

There are more than 1000 users in that list, i just want 50 hand picked users (not top 10) but Unique individuals.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.