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.

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.

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.