cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shinn
Regular Visitor

Count occurence of items in another table

Hi all,

 

I have created a gallery with 2 items and another table with 5 items and i want to count the number of occurrence  in the table based on the gallery items. I have tried using ForAll function and Collection but wasn't able to achieve my desired results.

 

An example is given below.

 

Gallery

User
Alan
Mary

 

Table

User
Alan
Alan
Mary
Mary
Mary

 

Results:

UserCount
Alan2
Mary3

 

Greatly appreciate any help/advise.

 

Best Regards,

Shin

1 ACCEPTED SOLUTION

Accepted Solutions
Ramole
Resident Rockstar
Resident Rockstar

Hi @Shinn 

Have look this post please it has the answer 
https://powerusers.microsoft.com/t5/Building-Power-Apps/Count-items-in-list-grouped-by-a-column/m-p/...


Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

1 REPLY 1
Ramole
Resident Rockstar
Resident Rockstar

Hi @Shinn 

Have look this post please it has the answer 
https://powerusers.microsoft.com/t5/Building-Power-Apps/Count-items-in-list-grouped-by-a-column/m-p/...


Thank you
If this post helps, then please consider Accept it as the solution to help the others and consider giving it a "Thumbs Up."

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,638)