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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

make new table that does multiple counts for multiple types for a a single individual

what I have:

 

Name 1   Type 1

Name 2   Type 1

Name 2   Type 1

Name 1   Type 2 

Name 1   Type 2

Name 2   Type 2

Name 1   Type 3

Name 2   Type 3

 

What I need in a seperate table:

 

NAME | TYPE  |  TYPE COUNT 

Name 1 Type 1  1

Name 1 Type 2  2

Name 1 Type 3  1

Name 2 Type 1  3

Name 2 Type 2  1

Name 2 Type 3  1

 

Thanks in advance~!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

Try

summarize(table,table[name],table[type],"Count", count(table[name]))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Try

summarize(table,table[name],table[type],"Count", count(table[name]))

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Anonymous
Not applicable

@amitchandak 

I'm sorry where would I put that... I'm fairly new to power bi.

Click on create new table and

Table =summarize(table,table[name],table[type],"Count", count(table[name]))

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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