title: How do i populate a PowerApps data card value on new form with data from last submitted form
body: <p>I have creating a handover form in PowerApps using a SharePoint list as data collection point, I would like when a new form is selected information from the last submitted form is auto populated into data card values.</p>
  
  <p>e.g. if the last form has text in the <code>'Safety Information'</code> <code>DataCardValue</code> then it should be copied into the new form, they also need to be able to edit the field if needed.</p>
  
  <p>I have tried the following in the <code>DataCard</code> and the <code>DataCardValue</code> default sections. </p>
  
  <pre><code>If(!IsBlank(EditForm1.LastSubmit.ID), EditForm1.LastSubmit.'Safety Information',ThisItem.'Safety Information')
  </code></pre>
  
  <p>I would expect that just the <code>DataCard</code> <code>'Safety Information'</code> (text field) to be populated with the last submitted data in that field but with the code it will set the form back to the last submit form. 
  In the SharePoint list it will create a new row for the new form but no information has been copied across from the last form.</p>