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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Mutiple Sharepoint lists
Power Apps
Unanswered

Mutiple Sharepoint lists

(0) ShareShare
ReportReport
Posted on by

So i have a SharePoint site that contains many lists that are named after users.

Is it possible to connect to the given list deepening on which user is using the app

So if John uses the app then it connect to Johns list, If Jane uses the app then it connect to Janes list.

i would like just to have one screen with a gallery to display the data

 

Categories:
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Unfortunately, I dont think thats possible currently. You can dynamically reduce your gallery's items as long as the data source is defined. In other words, you can have something like this: If(Condition1, Users, Filter(Users, Condition2))

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit(Haman)

  • datamaster Profile Picture
    250 on at

    @Islandspapand  as @PowerAddict mentioned you cannot create the data connections dynamically. However, you can accomplish what you are looking for by first creating the connections to each users list and then in the gallery's items property do something like this. Switch(User, "John", JohnsList,"Joe",JoesList, "ETC",ETClist)

     

     

    ------------------------------------------------------------------------------OfficePowerUser.com------------------------------------------------------------------------
    If this post helps answer your question, please click on
    “Accept as Solution” to help other members. If you thought this post was helpful, please give it a Thumbs Up.

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    @datamaster just to add to that, the columns in the lists need to the same. Else the gallery controls will keep throwing errors.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

    Hardit(Haman)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Islandspapand ,

     

     If the Fields you want to display in the gallery are the same, you can set Items property of Gallery as below:

     

     Switch(User().Email, "User1@xxx.com" ,User1LIst,"User2@xxx.com",'User2List',...)

     

    Then the Gallery will show the corresponding user's list.

    If the Fields is different, I am afraid it is not supported in PowerApps currently, because the Fields of gallery are constant, they can not be modified by expression.

    Best regards,

    Sik

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard