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 / Combo Box Items Errors
Power Apps
Answered

Combo Box Items Errors

(1) ShareShare
ReportReport
Posted on by 292

Hi,

 

I have a combobox that are giving me these three errors when I enter this formula in the Items property:

 

If(
 IsMatch(ddlReasonForLeave_1.Selected.Value, "Serious health condition"),
 Filter(Choices(SubLeaveReasons), Value in ["Work Related", "Non-Work Related"]),
 IsMatch(ddlReasonForLeave_1.Selected.Value, "Care for family member with serious health condition"),
 Filter(Choices(SubLeaveReasons), Value in ["Spouse", "Parent", "Child", "Other", "Sibling", "Parent-in-law", "Grandparent", "Grandchild", "Registered domestic partner", "Child of a domestic partner"]),
 Choices(SubLeaveReasons)
)

 

I'm just trying to filter the choices based on the selection of a different dropdown. I have the exact code on a different screen (the only difference is the naming convention of the dropdown: ddlReasonForLeave instead of ddlReasonForLeave_1) and it has no issues.  These are the errors I'm getting:

 

kelseytran_0-1720042458349.png

kelseytran_1-1720042571378.pngkelseytran_2-1720042585525.png

 

kelseytran_3-1720042597382.png

 

The code itself still works properly when I play the app - I'm just not understanding what these errors are for/from.

 

Any help is appreciated!

Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at

    Hi @kelseytran 

     

    I know you say its the same however, just for kicks humor me

     

    1. Copy the ComboBox from the other screen that works

    2. Paste it to this screen

    Just see if its good. YES it will be pointing to the other screens stuff I just want to see if it works

    3. update its code to point at your stuff

     

    I am wondering, if you have Search turned on for the Control and since what you are returning isn't search able its giving errors

     

    Validate that this Control has Search OFF

     

    Go to the other screen, I'll guess its OFF for that one.

     

    Bingo the difference.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • kelseytran Profile Picture
    292 on at

    So the searching was off - but when I turned it on then back off, it got rid of the errors.

     

    Not sure how that worked but it did! Thanks so much!

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 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard