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

Data from two sharepoint lists

(0) ShareShare
ReportReport
Posted on by 11

I'm pulling data into a gallery from one SharePoint list called Desk Reservations

 

Sort(
If(
 DesksListsGallery.Selected.Name = "Zone 1",
 Filter(
 'Desk Reservations',
 CheckOutFrom >= StartDateTime && CheckOutTo <= EndDateTime && Location = "Zone 1" && Cancelled = Blank() || CheckOutFrom <= EndDateTime && CheckOutTo >= EndDateTime && Location = "Zone 1" && Cancelled = Blank()
 ),
 DesksListsGallery.Selected.Name = "Zone 2",
 Filter(
 'Desk Reservations',
 CheckOutFrom >= StartDateTime && CheckOutTo <= EndDateTime && Location = "Zone 2" && Cancelled = Blank() || CheckOutFrom <= EndDateTime && CheckOutTo >= EndDateTime && Location = "Zone 2" && Cancelled = Blank()
 ),
 DesksListsGallery.Selected.Name = "Zone 3",
 Filter(
 'Desk Reservations',
 CheckOutFrom >= StartDateTime && CheckOutTo <= EndDateTime && Location = "Zone 3" && Cancelled = Blank() || CheckOutFrom <= EndDateTime && CheckOutTo >= EndDateTime && Location = "Zone 3" && Cancelled = Blank()
 ),
 DeskText,
 Ascending
)

 

Am I able to add another filter from a 2nd SharePoint list called Desks where active=0 and pull the Title?

Desks SharePoint list looks like this

TitleActiveDescription

Desk 1

0Zone 1
Desk 21Zone 1
Desk 31Zone 1

Desk 1

1Zone 2
Desk 21Zone 2
Desk 30Zone 2

Desk 1

1Zone 3
Desk 21Zone 3
Desk 31Zone 3

 

Categories:
  • lemonade Profile Picture
    11 on at

    Or add items from the 2nd SP list (if active=0), to the filtered items from SP list 1

  • Verified answer
    lemonade Profile Picture
    11 on at

    Resolved by creating a new collection for Desk Reservations, then doing a LookUp on the gallery for the additional data

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 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard