cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KimberlyM
Helper IV
Helper IV

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

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,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,633)