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 / Last Item per ID to di...
Power Apps
Answered

Last Item per ID to display in label on dashboard's gallery.

(0) ShareShare
ReportReport
Posted on by 193

On my dashboard I want to display in my "Dashboard_Gallery", the last item was that was entered into the "Notes" field on my "Edit" form and have it display in the "Last Update" label (shown below). Any tips on how to do this?
screencap.jpg
The Note field shown here is where I patch the note created with the plus/add button. (The rest of this form is set to a default of view not edit). As you can see there will be multiple entries per SharePoint ID for each item. So in the case of the image below in my gallery above I would want to display "Last Update: Emailed."
editscreen_capture.jpg

Here is a sample of what the data looks like in my SharePoint list for this particular set of data. Lead_History SharePoint list refers to the ID that is created in my main SharePoint list called Lead_Data.
leadhistory_capture.JPG

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

    Hi @KimberlyM ,

    Do you want to display the latest Note data within your "Dashboard_Gallery" for each item in your Lead_Data List?

     

    I have made a test on my side, please consider take a try with the following workaround:

    Set the Text property of the "Last Update" Label in your "Dashboard_Gallery" to following:

    First(
     SortByColumns(
     Filter('Lead_History', LeadID = ThisItem.ID),
     "HistoryDate",
     Descending
     )
    ).Note

    Note: I assume that the "Dashboard_Gallery" connects to your Main Lead_Data SP List.

     

    Please consider take a try with above solution, then check if the issue is solved.

     

    Best regards,

  • KimberlyM Profile Picture
    193 on at

    Great! Thanks so much @v-xida-msft for taking time to help me with all my final struggles in my app! It makes sense to use First in this situation. 

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard