Its better for you to create the application from a template, on PowerApps, click Create on the left Menu, then select SharePoint and it will create an entire application with the functionality that you are looking for:
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions help users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
If this post helps you give a :thumbs_up: and if it solved your issue consider Accept it as the solution