I am trying to grou items in a collection which is shown in a gallery. I just need the groups (by name) and then total count of items within it. Is this possible?
So results will be like
Group1 - Agrifood Technology
Group2 - Albury City Council
Go to Solution.
Here’s some code that will help you group the results. Replace your_datasource_name with the name of your datasource. Also replace CustomerName with the actual field name for customer.The field names for ByCustomer and CustomerCount are completely made up so you can change those to whatever makes sense.
GroupBy(your_datsource_name, "CustomerName", "ByCustomerName"),
—-Please Accept as Solution if this post answered your question so others can find it quicker. If you found this post helpful consider giving it a Thumbs Up.
View solution in original post
Check out our new profile badges recognizing authored solutions!
We are excited to announce the Power Apps Super Users!
Did you miss the call? Check out the Power Apps Community Call here.