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 / Is there a way to get ...
Power Apps
Unanswered

Is there a way to get two Galleries of data to pull through into one Gallery?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Initially I was trying to get a Gallery to pull from two different SharePoint lists to display the information but as I am struggling to do this, I am wondering if it is easier to pull them through as seperate galleries on my app and then create a third gallery which pulls the information from the other two?

 

Can anyone advise what the best way to do this is?

Categories:
I have the same question (0)
  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    For me in these scenarios I use Collect.

     

    Collect(CombinedLists, SharePointList1)

    Collect(CombinedLists, SharePointList2) 

     

    Someone else showed a way of just doing it real time

     

    Items = [SharePointList1, SharePointList2]

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Shanescows

     

    Thanks for your response. Sorry you've lost me a little bit with this. My two data sources are Site Pages_1 and Site Pages_2.

     

    I have got the two galleries to seperately bring through the data for these and that works fine. And now I am unsure of what to put in my properites for the third galleries which I essentially want as a hybrid of the two lists.

     

    Can you help?

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    You don't need Gallery1 and 2. You can delete them.

     

    For Items in Gallery3 use

     

    [SitePages1, SitePages2] 

     

    That should get you all of the items in one gallery. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This isn't working unfortunately. I suspect it has something to do with it being different SharePoint lists within different sites. The column names are all the same but it doesn't seem to be matching up perfectly and throwing out errors

  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Post some screenshots. Being different sites doesn't matter. 🙂 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you. I'm not sure what I'm doing wrong here. The bottom gallery is the one I need to try and get working but as you can see it is pulling through errors.

     

     

    PowerApps.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Shanescows

     

    I have managed to figure out why there were errors but that then leads me onto my next question, how do I get it to pull the data from both lists? For example they both have a column named "Title" but it won't let me use ThisItem.Title and pull the data from both lists.

     

    This screenshot is better at explaining what I need. I essentially want the data displayed in the top two galleries to all just be shown in one gallery where I can use my filters etc.

     

     

    PowerApps.png

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard