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 user data with ma...
Power Apps
Unanswered

Show user data with maximum value in item.

(0) ShareShare
ReportReport
Posted on by 57

Hi guys, could you help me with this..

I need to show in the " GANANDO" field the data of the person with the highest bid for that item. "DATOS DEL OFERTANTE"
Currently I am able to show the maximum value of the item as selected in the gallery.

I have two SharePoint lists as a database: "SUBASTA " which is where the assets shown in the gallery are and " OFERTAS " which is where the offers and data are reflected.

 

angeldiaz96_3-1708370442949.png

 

angeldiaz96_2-1708370403385.png

 

 

 

angeldiaz96_0-1708370333372.png

 

Categories:
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Have you tried?:

    First(SortByColumns(myGallery.AllItems, "Oferta", SortOrder.Descending)).Oferta

    To access the highest value for Oferta?

     

    Hope that helps,

    Bryan

  • angeldiaz96 Profile Picture
    57 on at

    I am using 

    Max(Filter(Ofertas,Title=BrowseGallery1.Selected.Title),Oferta)

    it to show me the highest value of that item. but I would like to mention who was the author of it.

  • BCLS776 Profile Picture
    8,994 Moderator on at

    The same method I suggested earlier can be used to access other fields in the record, for example:

    First(SortByColumns(myGallery.AllItems, "Oferta", SortOrder.Descending)).Email
  • angeldiaz96 Profile Picture
    57 on at

    Hi @BCLS776    I've been trying but it doesn't seem to work or I'm doing it wrong. I am not very advanced in Power apps, I would appreciate your support.

    angeldiaz96_1-1708443888950.png

     

    First(SortByColumns(BrowseGallery1.AllItems,"Oferta", SortOrder.Descending)).oferta
  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, let's try this expression instead, which will filter from the Ofertas table:

    First(
     SortByColumns(
     Filter(Oferta, Title = BrowseGallery1.Selected.Title),
     "Oferta", 
     SortOrder.Descending
     )
    ).Oferta

     

    Hope that helps,

    Bryan

  • angeldiaz96 Profile Picture
    57 on at

    This time it shows me a warning,
    To clarify the question: what I am trying to do is reflect the "Datos del ofertante" that the "oferta lider actual" has and that these bidder data are shown in the "Ganando" data card.

    angeldiaz96_1-1708451248076.png

    I also share a view of the SH list database.

    angeldiaz96_2-1708451375145.png

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Yes, filtering using the Title column is non-delegable and will show a delegation warning. You may want to find a different column to use for your filter, such as a new text column that mimics the Title column.

     

    I noticed from your screenshots that you have 'Datos del ofertante' associated with a label that looks like it should contain the winning bid - is that what you intended? Maybe you need to move the code to the label that goes with the 'Datos del ofertante'?

     

    Bryan

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 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard