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 / Filtering two sharepoi...
Power Apps
Answered

Filtering two sharepoint lists into one gallery

(0) ShareShare
ReportReport
Posted on by 290

Hey! Can I display two sharepoint lists in one gallery? I don't even need to filter them. I just have two sharepoint lists called VacationAccepted and VacationDeclined and I need to display them in one Gallery.

 

How do I achieve that?

Categories:
  • KvB1 Profile Picture
    1,596 on at

    I'm afraid its not possible to use 2 data source in the Items property of a gallery. What you could do is collect both of them in a local collection.

  • Filistyn Profile Picture
    290 on at

    Hello! Thank you for your answer. Could you be please more specific, how to collect data and display the collection in one gallery? 

  • Verified answer
    KvB1 Profile Picture
    1,596 on at

    It's important to check the following:

    - Will either of your lists contain more than 2000 items that you need to store?

    - Are the columns of both lists identical? If not, which columns do you need to be displayed in your gallery?

    The actual formula isnt that intresting;

    Clear(colVacations);
    Collect(
    	colVacations,
    	VacationAccepted
    );
    Collect(
    	colVacations,
    	VacationDeclined
    )

    This is assuming that the columns are identical.

     

    Also please bear in mind that if you use this to update your data sources, this collection will not be updated with it, so you have to do this every time you make a change.

     

    The cleaner solution would be to just combine the two sharepoint lists into one sharepoint list.

  • Filistyn Profile Picture
    290 on at

    Thank you, since it's not that effective, I'm just gonna put two galleries next to each other

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard