
1 - Add a Subgrid component to a form
2 - Select Show related records and then select the related entity and default view for the subgrid
3 - Select the Allow users to change view option
4 - Save and publish the form
Reference:
https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/form-designer-add-configure-subgrid