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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Collection from 2 Sources

(0) ShareShare
ReportReport
Posted on by 160

Hey there,

 

I got two Sharepoint Lists:

List 1: Employee Data with multiple columns (Relevant column: Assigned Parkingspace Nr.)

List 2: Parkingspaces

  • Column 1: Parkingspace Nr.
  • Column 2: Available true/false

 

In my App i can change the parking space number of a employee (Currently it changes the Parkingspace Nr. of the selected employee in List1).

Problem: redundancy -> a parkingspace can be assigned to multiple employees. 

wshalex123_0-1672854304232.png 

--> Dropdown menu in the App.

"Property Default" = Assigned Parkingspace Nr. of the selected employee

"Property Item" = All exiting parkingspaces

wshalex123_1-1672854476850.png

 

 

 

I want a collection, which combines the parkingspace number from of the selected employee AND only the available parkingspaces from List2 (column-filter available = true).

 

If i change the property "items" to a formula that filteres values with available = true of List2 in the current dropdown, it doesn't show the "currently assigned parkingspace", because it's set to "unavailable" in List2.

 

Maybe someone can help me here. Thanks in advance 😉 

 

I have the same question (0)
  • WarrenBelz Profile Picture
    151,903 Most Valuable Professional on at
    Re: Collection from 2 Sources

    @wshalex123 ,

    This should tag all available spaces plus add the name of the selected user to their space.

    Filter(
     AddColumns(
     ParkingSpaces,
     "AllocatedTo",
     Lookup(
     'Employee Data,
     'Assigned Parkingspace Nr' = 'Parkingspace Nr' &&
     EmployeeName = YourSelectedName
     )
     ),
     Available || !IsBlank(AllocatedTo)
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard