cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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.

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

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,423)