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 / Sharepoint lookup drop...
Power Apps
Answered

Sharepoint lookup dropdown list filtering

(0) ShareShare
ReportReport
Posted on by 59
 
I am creating an application with connection to two sharepoint list. Here what the table look like
**EmailManager**
ID EmailTemplate EmailTemplateID Send From....
1 orientationTemplate 1 2022-16-03
**EmailTemplate**
ID Title HtmlBody Approved
1 orientationTemplate ... true

Has you may notice EmailManager.EmplateTemplate refer to the title and EmailManager.EmailTemplateID refer to the id and its a lookup form. The issue that I have is I would like in powerapps the field called Email Template that would show me a dropdown of all the email template, with a filtering. The filtering is select all EmailTemplate with Approved= true.

 

This is what I have and its not quite right, this is build using a edit form

Original  

 

Choices([@EmailManager].EmailTemplate)

 

MyFormulas  

 

Filter(Choices([@EmailManager].EmailTemplate),ThisItem.Approved=true)

 

Now i am fairly new to powerapps, but i am not sure if its the right approach( i have seen some option where you build a collection of your options, but this seem hard for no reason)

 

PS: to be fair i am bit confused has to why would it point EmailManager and not

 

EmailTemplate Filter(Choices([@EmailTemplate].Title),ThisItem.Approved=true) 

 

something like this would make more sense to me.

 

I also try this

 

 

Filter(
 Choices([@EmailManager].EmailTemplate),
 Value in Filter(EmailManager,ThisItem.Approved=true).Approved)

 

 

 

Categories:
  • Verified answer
    BrianMaster Profile Picture
    34 on at

    The following should work as the source for your dropdown to give you a selection of all the approved email templates. 

    Filter(EmailTemplate,Approved=true).Title

     

  • jseb04 Profile Picture
    59 on at

    Hi,

     

    Thank for the quick reply, here a few thing i notice, because its a form(edit) I added the field and I cannot change the source to the field.

    jseb04_1-1657900296187.png

    I can change the item, but not the source( source is related to the form)



  • BrianMaster Profile Picture
    34 on at

    You can select the dropdown control on the canvas.  Then in the Advanced tab in the right pane click Unlock to change properties.  This will allow you to change all properties for the control.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard