Hi,
You would need to do couple of changes to achive your requirement -
1. App Onstart -> ClearCollect LineItems2 add EmailAddress field in collection
{Title: "Lodging", ID: "1", Date: DateAdd(Now(), -5, Months), Category: "Business Needs", Cost: 1400, ReportID: "4", Description: "Lodging throughout trip", Email:"bipinshan@bipininfysolution.onmicrosoft.com"}
2. While Adding Line Item on click of Save button you would need to set Email Address User().Email
Email:User().Email
3. Filter gallery by logged in user to show line item created by logged in user
Filter(LineItems2,ReportID = Text(SelectedReport2.ID), Email=User().Email)
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: https://xrmdynamicscrm.wordpress.com/