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
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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

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,709)