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 / Filtering Choices from...
Power Apps
Answered

Filtering Choices from a sharepointlist that is a lookup colum from a separate sharepoint list

(0) ShareShare
ReportReport
Posted on by 4

I have created a power app that links to my sharepoint list called Guest Resolution Log2.

There is a lookup column called 'EmployeeLoggingComplaint' in the sharepoint list that links to another list called Employee List and uses a column called 'Name' to pull a list of the employee names into my dropdown list. 

 

Currently my dropdown works using: Choices([@'Guest Resolutin Log2'],EmployeeLogginComplaint) but I need to now filter.

 

This worked fine until I realized that I need to filter this list to only those employees that are actually active. 

 

When I completed the lookup I had it add an additional colum to the Guest Resolution Log2 List called 'Status' from the Employee List. The status options are "Active" and "Inactive". 

 

I have searched all the boards, all the powerapps videos and have spent hours and hours trying to solve my issue to no avail. Can anyone help me?

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Instead of Querying the Lookup column, try this:

    1) Add the Lookup list as a Datasource

    2) Add a filter on the Employee list with Status="Active", select the Title column and set it as a datasource for your dropdown

    3) Change the Update function of the Datacard to Save the Id of the Selected dropdown item.

     

    Let me know if you need me to be more specific

  • LonnieP Profile Picture
    4 on at

    I am so sorry, but yes. can you be a bit more specific. I have added the employee list as a data source, but I cannot seem to get the change on the datacard. Not exactly sure how to do this. 

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    No prob. I will build a short sample and post the screenshots tonight. 

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    I have uploaded an app as an example.

    You will need to update the datasources to use your lists.

     

    Here are screen shots

    gOruBFGlmF.pngh4WAnUBwMl.pngGvMzLSN8oo.pnghAjOFwRadS.png1ix6baX32o.png

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 739 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 268

Last 30 days Overall leaderboard