web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Name isn't valid. 'Cre...
Power Apps
Answered

Name isn't valid. 'Created By' isn't recognized. when combine two SharePoint list source into single collection

(0) ShareShare
ReportReport
Posted on by

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?

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    Merging two different lists will only keep the internal SP name of fields. In this case the internal name of the 'Created By' field is Author, you can use that on the collection (or on either of the datasources).

     

    For your collection it would be

    Filter(CombinedReports, Author.Email = varUser.Email)
  • rb Profile Picture
    835 Super User 2024 Season 1 on at

    I find that Collecting a SharePoint list like that will sometimes force you back to using the 'real' system column names. Can you check View -> Collections to see what the column names look like for "CombinedReports"? Post a screenshot here, perhaps.

  • Community Power Platform Member Profile Picture
    on at

    Thanks it is working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard