web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Find Item Highest Coun...
Power Apps
Unanswered

Find Item Highest Count and Display That Items Name

(0) ShareShare
ReportReport
Posted on by 49

Hello,

I have a gallery that is showing feedback from users. I have a column made for each question and the response is going under each one.  I am looking to display the item with the most results.  (see pic below)  Since "Strongly Agree" is the response with the highest count I would like to display Strongly Agree to users.  Thank you so much 🙂

 

TONYSTORM_0-1629328969083.png

 

Categories:
I have the same question (0)
  • TONYSTORM Profile Picture
    49 on at

    Just to clarify.  This is a dashboard that is showing the top responses from Users.  So basically I will have an area that is titled "Top Responses" and the Response with the highest count will display in this area.  I hope this helps.

  • v-xiaochen-msft Profile Picture
    on at

    Hi @TONYSTORM ,

     

    I did a test for you.

    1\ This is my table

    ClearCollect(Col,{Value:"A"},{Value:"A"},{Value:"B"},{Value:"A"},{Value:"C"},{Value:"C"},{Value:"A"})

     

    2\ Add a label control and set its Text property to:

    First(SortByColumns(ForAll(Distinct(Col,Value) As A,{Number:CountIf(Col,Value=A.Result),Vaule:A.Result}),"Number",Descending)).Vaule

     

    3\ The result is as follows:

    vxiaochenmsft_0-1629343070899.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • TONYSTORM Profile Picture
    49 on at

    Thank you!  Getting an error. could you break that down for me . Thank you 

  • v-xiaochen-msft Profile Picture
    on at

    Hi @TONYSTORM ,

     

    Could you provide some information?

    For example, the items formula of your gallery

    It's hard to help you solve the problem without enough information.

     

    Best Regards,

    Wearsky

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard