cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sdjackson
Level: Powered On

Detail Screen to show only the last entry

I'm really excited about PowerApps and have made my first few.  I am now making a more sensitive one and would like the person editing to make a new form and the detail screen to only show them the entry they have just made.  At the moment the my detail screen shows some default data from the browse screen.  I'd like it to only show what was just submitted in the edit screen, is that possible?  Grateful for any advice.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Detail Screen to show only the last entry

Hi @Sdjackson ,

Have you solved your problem?

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been 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

3 REPLIES 3
Community Support Team
Community Support Team

Re: Detail Screen to show only the last entry

Hi @Sdjackson ,

Do you want the Display form to only display the latest entry item in your data source?

 

Based on the needs that you mentioned, I think the global variable could achieve your needs. I have made a test on my side, please take a try with the following workaround:

Set the OnSuccess property of the Edit form to following:

Set(LastSubmittedRecord, EditForm1.LastSubmit)    /* <-- Add this formula */

Set the Item property of the Display form to following:

If(
     IsBlank(LastSubmittedRecord),
     Last('YourDataSource'),
     LastSubmittedRecord
)

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.
Highlighted
Sdjackson
Level: Powered On

Re: Detail Screen to show only the last entry

Nice one, that's just the trick.  Thank you.

Community Support Team
Community Support Team

Re: Detail Screen to show only the last entry

Hi @Sdjackson ,

Have you solved your problem?

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been 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

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,220)