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 / Dropdown Filtering not...
Power Apps
Answered

Dropdown Filtering not working

(0) ShareShare
ReportReport
Posted on by 350

This seems to work in Edit mode, not in live.

 

Very simple dropdown in a Form with 4 options, two of which end in 'start /end'.

 

Code for items is:

If(
 Edit_Form.Mode=FormMode.Edit,
 Choices(<Source>.Column),
 Filter(Choices(<Source>.Column),EndsWith(Value,"start /end"))
)

Again this seems to work fine when editing the app, but in live it will usually display all the options.

Am I missing something?

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @xzDan ,

    Could you please share a bit more about your issue?

    Do you mean that the formula you provided could not work when you run your app in web browser?

     

    I have made a test on my side, and don't have the issue that you mentioned. As an alternative solution, please consider take a try with the following workaround:

    Set the OnVisible property of the Edit screen (which contains your Edit form) of your app to following:

     

    If(
     Edit_Form.Mode = FormMode.Edit,
     ClearCollect(DropdownOptions, Choices(<Source>.Column)),
     ClearCollect(DropdownOptions, Filter(Choices(<Source>.Column),EndsWith(Value,"start /end")))
    )

    Set the Items property of the Choice ComboBox in your Edit form to following:

    DropdownOptions

    Best regards,

     

  • xzDan Profile Picture
    350 on at

    Just that it does not seem to always work in the web browser. It used to work 99% of the time, and occasionally I would see all options become visible, but now it seems to not work 99% of the time. I will try your suggestion though, thank you.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @xzDan ,

    Have you taken a try with the alternative solution I provided?

    Have you solved your problem?

     

    If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Best regards,

  • xzDan Profile Picture
    350 on at

    I will try it out later today!

  • xzDan Profile Picture
    350 on at

    @v-xida-msft Thanks a lot!

    Out of interest, is there a reason why this does not work the way I did it? I have had an issue similar to this before (can't recall off the top of my head) where I had to have a collection instead of doing a check similar to the problem here. I take it this should not be the case - perhaps a bug?

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 339 Most Valuable Professional

#2
11manish Profile Picture

11manish 180

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard