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 / 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:
I have the same question (0)
  • 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

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