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 / Setting dropdown selec...
Power Apps
Answered

Setting dropdown selected item

(0) ShareShare
ReportReport
Posted on by 578

I have a dropdown that needs to change the selected item based on a series of checkboxes. So far most checkboxes work perfectly, except one. The options for the dropdown are, among other ["RO", "Published", "Product Cancelled"....]. I define the current selected item by using a variable called "currentStatus", and use this on the dropdown to select it:

DefaultSelectedItems: Filter(Choices([@'Publications Log'].Status), Value in currentStatus)

The issue I'm having is between the values "RO", and "Product Cancelled". I imagine the issue is that both items contain "ro" on them. 

The checkbox OnCheck is:

OnCheck: Set(currentStatus, "Product Cancelled");

As I said, all checkboxes work fine except this one. Every time I check it, the dropdown selects "RO", instead of "Product Cancelled"

How can I fix this?

 

Categories:
  • Verified answer
    emfuentes27 Profile Picture
    578 on at

    Oops, I just found out that I can use "exactin":

    DefaultSelectedItems: Filter(Choices([@'Publications Log'].Status), Value exactin currentStatus)

    It seems to be working now.

     

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard