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?
Solved! Go to Solution.
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.
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
179 | |
45 | |
45 | |
34 | |
34 |
User | Count |
---|---|
255 | |
82 | |
78 | |
67 | |
65 |