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

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

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

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
Helper II
Helper II

Re: Detail Screen to show only the last entry

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

Highlighted
Community Support
Community Support

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,242)