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

Re: Detail Screen to show only the last entry

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

Highlighted
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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

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