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 / Calculate Average from...
Power Apps
Unanswered

Calculate Average from Text Input in Gallery

(0) ShareShare
ReportReport
Posted on by 901

 

Happy Wednesday! Power Apps Community.

 

I'm creating an audit tool. What is the best way to achieve the average score from the Text Input result in a gallery?

 

Average.PNG

 

Is the missing piece to have the Power Apps ready for testing‌😎

 

Thank you in advance.

Categories:
I have the same question (0)
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @oappdev 

     

    You could sum the values and divide by the number of rows?

     

    Sum(Gallery1.AllItems,TextInput1)/CountRows(Gallery1.AllItems)

     

    Damien

  • oappdev Profile Picture
    901 on at

    Thank you @DamoBird365  I will give it a try and circle back.

  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @oappdev 

    Also, you can use the Average function for this...

     

    Average(yourGallery.AllItems, Value(TextInputControlName.Text))

     

    I hope this is helpful for you.

  • oappdev Profile Picture
    901 on at

    Thank you so much @RandyHayes I will also give it a try.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard