We have 2 SharePoint lists with similar structure. I decide to combine them into single collection and list in a Power App gallery.
ClearCollect(CombinedReports,ReportA,ReportB);
We know all SharePoint lists have column 'Created By'. In the gallery we use 'Created By' to filter the items so that only the active user's item will be shown.
Below is working:
Filter(ReportA, 'Created By'.Email = varUser.Email)
Filter(ReportB, 'Created By'.Email = varUser.Email)
However below throw me error [Name isn't valid. 'Created By' isn't recognized. ]:
Filter(CombinedReports, 'Created By'.Email = varUser.Email)
Why?