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 incomplete f...
Power Apps
Answered

Combo box incomplete filtering results

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I'm trying to replace my old drop-down list by combo box because it can show more columns data. However, I noticed some unexpected behavior of my combo box but not sure the reason. Some of the filtered results can be missing from the combo box list, but it is not always happening. please see the following screenshots:

 

Missing results behavior(combo box list has some items missing):

Filtered results of drop-downs:

polaris_0-1597031476007.png

Filtered results of combo box (objectid = 1464 is gone):

polaris_1-1597031621538.png

 

Normal behavior (the drop-down list gives the same results as the combo box):

polaris_2-1597031839757.png

 

polaris_3-1597031862910.png

 

Here is my code for them:

Dropdown:

On select:

SortByColumns(Distinct(Filter('[dbo].[GENERAL_INSPECTION]',slip_id = cb_slip.Selected.slip_id),objectid),"Result",Ascending)

 

Combo box :

On select:

Filter(AddColumns('[dbo].[GENERAL_INSPECTION]',"objectid_t",Text(objectid),"ins_date",Text(inspection_date)),slip_id = cb_slip.Selected.slip_id)

polaris_4-1597032092269.png

 

Do you have any suggestions?  Many thanks!

 

 

Categories:
I have the same question (0)
  • Florian_Kleinz Profile Picture
    227 on at

    Hello,

     

    The .Selected property of a combobox returns a table even is MultiSelect is false.

    Therefore you need to get the first value of the combobox:

    First(YourComboBox.SelectedItems).Value 
    //.Value might differ depending on the DataSource of the ComboBox. In your case it seems to be .slip_id:
    First(cb_slip.SelectedItems).slip_id

     

    Let me know if this helps.

     

    Best regards

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    I guess your problem is caused by "delegation restriction".To verify my guess, could you tell me:

    • What is your data source?Is it SQL sever?
    • How many records are in this data source?

    Please set the Combo box's Items proeprty to:

     

    AddColumns(
     Filter(
     '[dbo].[GENERAL_INSPECTION]',
     slip_id = cb_slip.Selected.slip_id),
     "objectid_t",
     Text(objectid),
     "ins_date",
     Text(inspection_date)
    )

     

    I just changed the execution order of AddColumns and Filter. If this formula can get the correct result, it can prove that my guess is correct.

    Best Regards,

    Bof

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard