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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps patch(update...
Power Apps
Unanswered

PowerApps patch(update a record) beginner

(0) ShareShare
ReportReport
Posted on by

Goodday all(

, I am a beginner in PowerApps and i am also very new to the coding side of PA. I am trying to currently use a patch function to update my table.

DvdH_1-1673425825359.png


See example ERD of tables used.

I am trying to update table Three.
I want to insert Reason_Category.reason_category_id into table three. It is currently empty due to this being manually selected in the PowerApp i am making.
See below example of the powerapp.

DvdH_2-1673426285837.png


I want to insert reason_category_id into table 3 on submit button where two_name ='two_name_dropdown'.Selected.name

Any more data/information needed let me know.

 

 

 

Patch(
'DD.two',
Lookup('two', name:'two_name_dropdown'.Selected.name),
{???:'???'.Text}
)

 

 

 

I think i'd need something simular to this. Any help/questions are welcome. I know this is a scattered post i am just very stuck.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Pseudo code of what im trying to do based on SQL code.

    UPDATE table3
    SET reason_category_id = id_reason_category_dropdown
    WHERE two.name = two_name_dropdown.SelectedValue

     

    DvdH_0-1673429220124.png

    Another issue i can't seem to get the reason id correct.
    in this instance reason cat 2 and 3 are empty and when empty instead of giving the reason id it gives a 1.
    Any way to be garantueed to get the correct id? I am so confused by some of this.

     

  • Community Power Platform Member Profile Picture
    on at

    Any mod available for help? @v-jefferni @v-dezhili-msft @v-qiaqi-msft @v-liwei-msft I am really stuck here.

  • Community Power Platform Member Profile Picture
    on at

    Needed support. Anyone know anything?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard