cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IdreesAnwar
Frequent Visitor

Choices Combobox showing Ids when only wanting Values and selecteditems Values are blank (Canvas App)

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.

 

Opportunities List with broken filters.PNG

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.

Combobox Data screenshot.PNG

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.

 

Filter(
         Opportunities,

         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. 

Test analysis of comboboxes seleted items.PNG

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. 

 

14 REPLIES 14
AGL
Frequent Visitor

I have the same problem. Also using Dataverse for Teams as a data source.

_Corey_
Power Apps
Power Apps

We have identified the issue and are currently working on a fix.  I'll update this thread again when we have an estimated deployment schedule.

_Corey_
Power Apps
Power Apps

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:

  • 3.21061.14
  • 3.21055.27
  • 3.21054.36

You will need to edit, save, and re-publish your app(s) for the fix to take effect.

shoog
Dual Super User
Dual Super User

Thanks @_Corey_ , we have the fix and the comboboxes with choice columns are looking fine again.

AGL
Frequent Visitor

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

Helpful resources

Announcements
Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (2,283)