web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reading Specific List ...
Power Apps
Unanswered

Reading Specific List Entries

(0) ShareShare
ReportReport
Posted on by

Hi, I'm very new to PowerApps and currently creating an app for users to fill in an MS List and I need a button to submit the form and then collect a value from that entry in the MS List as the calculations are done there after submitting from PowerApps.

Essentially I need to

  • Submit the form from PowerApps (Which it does)
  • Access that same entry in the MS List
  • Pull a calculated value from the List form
  • Change Screen on PowerApps based on that value

I don't now if there's someway of adding a variable like other code languages? Or how I'd determine the specific List entry to pull from though so any help would be much appreciated!

 

Categories:
  • realwillwright Profile Picture
    772 Moderator on at

    Hi   @RGriff 

    Hopefully I'll answer all your questions

     

    Submit the form from PowerApps (Which it does)

    Depending on how you save it, if its a submit form or just a patch there are a couple of ways, both involve saving the items as a variable.

    When you do the submit, wrap it in a global variable using the Set function for patching or add another line for submitting a form

     

    Set(gblSavedItem, <patch statement>) 
    <Form1>.LastSubmit

     

    Either of these will save the details of the item.

     

    Access that same entry in the MS List

    You should now be able to see the calculations by doing

     

    gblSavedItem.<column>
    <form>.LastSubmit.<column>

     

     

    Pull a calculated value from the List form

    If you can't see the calculated value item you will need to do the following

     

    Lookup(<List>, ID = gblSavedItem.ID).<column>
    Lookup(<List>, ID = <form>.LastSubmit.ID).<column>

     

     

    Change Screen on PowerApps based on that valueFor this you could do a switch after the submission has been completed.

     

    Switch(gblSavedItem.<column>, "column value 1", Navigate('Screen1'), "column value 2", Navigate('Screen2'))
    
    Switch(<form>.LastSubmit.<column>, "column value 1", Navigate('Screen1'), "column value 2", Navigate('Screen2'))

     

     

     

    This should give you most of what you need for a form submission the following should be it in a button

     

    SubmitForm(<form>); 
    Lookup(<list>, ID = <form>.LastSubmit.ID).<columnrequired>; 
    Switch(<form>.LastSubmit.<columnrequired>, "column value 1", Navigate('Screen1'), "column value 2", Navigate('Screen2'))

     

     



    -------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard