I'm having various issues with some functionality within my app. I have a few galleries in my app and I have created some functionality to be able to filter the data in the galleries using specific criteria which can be selected from a few comboboxes. This functionality was working perfectly at the end of day on Thursday and when I checked back in on Friday there were a few issues that had occurred.
Here is a screen shot of one of the galleries and the comboboxes used to filter that gallery.
The Innovation Phase and Opportunity Classification comboboxes get their options from a choices field whereas the Business Areas combobox gets it's options from a dataverse table. All of the comboboxes are multi-select comboboxes. for the comboboxes using choices for their data, they use Value as the displayed field.
So i'm unsure why the Id field is also showing in the comboboxes.
I have another issue which I think stems from the issues with the comboboxes, I have a filter on the Opportunities gallery copied in below.
IsBlank('Opportunity List View Page Innovation Phase Filter'.SelectedItems.Value) ||
IsEmpty('Opportunity List View Page Innovation Phase Filter'.SelectedItems.Value)||
'Innovation Phase' in 'Opportunity List View Page Innovation Phase Filter'.SelectedItems.Value,
IsBlank('Opportunity List View Page Business Area Filter'.SelectedItems.'Business Area') ||
IsEmpty('Opportunity List View Page Business Area Filter'.SelectedItems.'Business Area') ||
'Business Area'.'Business Area' in 'Opportunity List View Page Business Area Filter'.SelectedItems.'Business Area',
IsBlank('Opportunity List View Page Opportunity Classification Filter'.SelectedItems.Value) ||
IsEmpty('Opportunity List View Page Opportunity Classification Filter'.SelectedItems.Value) ||
'Opportunity Classification' in 'Opportunity List View Page Opportunity Classification Filter'.SelectedItems.Value
This filter uses the selected values in the comboboxes to filter the options in the opportunities gallery, but I'm finding that when I select options in the comboboxes that the Opportunities gallery just ends up empty even when I'm selecting options which match the values of the Opportunities in the database. (This was working just fine on Thursday)
I did a bit of analysis to see why the filter wasn't working correctly by setting up a test to check whether the selected values in the combobox are being set when they are selected. Here is a screenshot of the test page.
The combobox uses the same data as the Innovation phase combobox and the gallery below is displaying the selected items in the combobox with the Value field as label next to the image, I've found that the Value field in the comboboxes selectedItems is not being populated when Items are selected. which I believe may be the root cause of the issues I'm having with filtering on the Opportunities Gallery.
Can anyone help me with this? I can't understand why Ids are being displayed in my comboboxes when I only asked for Values and also the filtering of the Opportunities gallery isn't working and I believe this is because the Values of the selected items in the comboboxes are blank when items are selected.
Solved! Go to Solution.
An update is currently being deployed to all regions to address this issue and in some cases has already completed.
Depending on your region, the following versions (or later) contain the fix:
You will need to edit, save, and re-publish your app(s) for the fix to take effect.
Hi @_Corey_ ,
Retrieving values from a ComboBox works again. Thanks.
But a new problem arises with "DefaultSelectedItems" in a ComboBox. It doesn't work.
It worked before in our "regular" PowerApp. To make sure it is not our app, we tested it in a new PowerApp for Teams with just 1 ComboBox. Items: ["bar";"foo"]. DefaultSelectedItems: ["bar"]. That should work right? Version: 3.21055.27
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.
In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.