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 / How to get the max val...
Power Apps
Unanswered

How to get the max value nd so sum by using for all

(0) ShareShare
ReportReport
Posted on by 40
Hi Can some one tell me how to get the max value of each dropdown in gallery and do sum on it I tried the formula Forall(gallery1.all items ,max(tblname,columnname)
Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @Sweety ,

     

    Could you please share more about the scenario? What is the Items of the Gallery as well as the Dropdown in the Gallery?  Screenshots would be very helpful.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Sweety ,

     

    I assume you have a gallery and in which there are several dropdowns for each item and a Label to display the max value. If you would like to get the total of all the max value in the gallery, please follow below steps:

    vjefferni_0-1630394615618.png

    1\ Label inside the Gallery set Text to:

    Max(Dropdown1.Selected.Value,Dropdown2.Selected.Value,Dropdown3.Selected.Value)

     

    2\ Label outside the Gallery set Text to:

    Sum(ForAll(Gallery1.AllItems As A, A.Label2.Text),Value)

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard