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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Show maximum value of ...
Power Apps
Answered

Show maximum value of a list when a gallery item is selected.

(0) ShareShare
ReportReport
Posted on by 57

Hello community,

Could you help me with that.

 

I'm trying to create an app that works like internal auctions,

I have 2 SharePoint lists as a database: 1. contains the article information and the other 2. is where the offers they make will be. (attach).

angeldiaz96_2-1707250454323.png 

angeldiaz96_0-1707309656720.png

 

using a gallery that shows the items and an edit form that would enter the offers in the SP OFERTAS.

I would like the (VALOR ACTUAL) field to reflect the highest value offered, I am not sure how to do it or what the best option would be. Could you help me with any ideas?

 

angeldiaz96_4-1707250762095.png

 

 

 

 

angeldiaz96_0-1707250303433.png

 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @angeldiaz96 ,

     

    If you wish to obtain all corresponding items from the list 'Ofertas' for the selected item in the gallery and retrieve the maximum 'Oferta' among them, you may consider trying this formula.

    Max(Filter(Ofertas,Title=GaleryName.Selected.Title),'Oferta')

     I think this link will help you a lot:

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-aggregates

     

    Best Regards,

    Bof

  • angeldiaz96 Profile Picture
    57 on at

    Thanks @v-bofeng-msft, 

    It's just what I need.  

  • angeldiaz96 Profile Picture
    57 on at

    @v-bofeng-msft  I would like to add a text label where I can show the author of the maximum offer at that moment (assuming that I want to show the author from the email column of the list)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard