cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KimberlyM
Level 8

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
Community Support Team
Community Support Team

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

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
Community Support Team
Community Support Team

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

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

Highlighted
KimberlyM
Level 8

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

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
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,408)