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 / Selected items from a ...
Power Apps
Unanswered

Selected items from a SharePoint List pull a new collection of items from a separate SharePoint List

(0) ShareShare
ReportReport
Posted on by 60

Hello PowerApps Community!
We have two departments maintaining two separate SharePoint Lists. My app is trying to use information from each.

I have the following things built:

 

SharePoint List: "SPOUs" (2 columns: "Title" and "OUs")
SharePoint List: "SPMDs" (2 columns: "Title" and "MDs") The "Title" column contains records of only three letters.

ComboBox: "Combo_OUs"

> OnSelect: ClearCollect( Collection_OUs, GroupBy( Filter( 'SPOUs',Title <> "LSA" ),"OU","OU"))

> Items: Collection_OUs

ComboBox: Combo_MDs

> OnSelect: ???

> Items: ???

 

  1. The user uses Combo_OUs to select the OUs they want.
  2. I now want that the following to happen:
    1. Concat the list of selected OUs (again, these originally reside in SharePoint List "SPOUs"), but only the first three letters of each selection.
    2. Query the SharePoint List "SPMDs" to find records where the "Title" column matches any of the first-three-letter-values from (a).
    3. Create a collection of the corresponding "MDs." I also want this list to have distinct (non-repeating) values.

 

PLEASE let me know if I need to clarify. In essence, creating a collection of OUs from one SharePoint list should create a collection of MDs from a different SharePoint List. The first three letters of the selected OUs are matched to the Title column of the second SharePoint List to find the corresponding, distinct MDs.

 

Thank you all in advance for your assistance. This is probably the most complex piece of PowerFx I've tried to tackle and have gotten stuck many times.

Categories:
I have the same question (0)
  • stellarwheels Profile Picture
    60 on at

    I actually felt like my description was hard to follow, so I made this diagram instead. The orange indicates where I am stuck.

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard