Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Filtering form/app on the landing page by category

(1) ShareShare
ReportReport
Posted on by 66
Hi all,
 
I'm building a simple app to collect form submissions to make up a library of results.
These results as captured in a simple SP list.
On the landing/gallery page, by default, it will list the submissions as they come in.
 
I could like to group all the submissions by a field ('city') so that on the main landing page there would be a list of all
cities and ideally the number of entroes for each
 
e.g.
 
London (16)     >
Belfast (3)        >
Berlin (23)      >
 
How do you get the count of entries per city on the landing page along with the ability to filter by city.
 
I'm hoping when someone clicks on 'London' it will direct them to a list of 16 aplicable entries.
 
Any ideas?
 
Kind regards,
Brian
  • Suggested answer
    Michael E. Gernaey Profile Picture
    41,020 Super User 2025 Season 1 on at
    Filtering form/app on the landing page by category
    Hi,
     
    Terribly sorry I am running to bed, but wanted to give you a direction
     
    1. You want to use the GroupBy Function to group them by the City
    2. Then you have a couple options.
     
    a) use an Add Column and use the CountRows() function to add that column with the Count of the City
    b) Or, change the Label Text to be like this (I am assuming its a label)
    ThisItem.City & "(" & Text(CountRows(Filter(MySource, City = ThisItem.City))) & ")"

     Its late and I may or may not have added too many ) lol but thats the gyst.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard