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 / Filter combobox in the...
Power Apps
Suggested Answer

Filter combobox in the search event

(0) ShareShare
ReportReport
Posted on by 12
Hi All 
 
I have a list of establishments that contain 350 000 rows. The list is stored on a power bi dataset.
 
in my case i want the possibility to select an establishment over the 350 000 rows. 
I've created a combobox based on the establishment list and i've activated the search possibility on that combobox. 
 
It work but it's very slow because he's trying to get over 350 000 rows. 
 
i've activated the search option on the combobox properties.
Now i'm trying to filter the combobox with a TOP50 of establishment that match with the text that the user is writting on the combobox search box. 
 
In the combobox properties, there's "On Select" and "On Change" properties but it's not the event i'm looking for. 
 
I would like to execute a TOP 50 filter request during the search moment. For exemple, when the user is writting text on the search box of the combobox, i want to request the dataset with a top 50 of the establishment that match with the text.
 
Is it possible to do that ? 
 
Many thanks for your help. 
 
best regards
 
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    Pls try the following:
     
    Use the ComboBox's Items Property: 
    FirstN(
        Filter(
            EstablishmentList,
            StartsWith(EstablishmentName, ComboBox1.SearchText) // Matches user input dynamically
        ),
        50 // Limit to top 50 results
    )
     
    PowerBI: Leverage Data Source Filtering: Ensure filtering and limiting to top results happen on the Power BI side, reducing the data transferred to Power Apps.  
    ClearCollect(
        FilteredEstablishments,
        TopN(
            Filter(
                EstablishmentList,
                StartsWith(EstablishmentName, ComboBox1.SearchText)
            ),
            50
        )
    )
     

    In Power Apps, ensure your queries are delegation-friendly for performance:: Use delegation-compatible functions like Filter, StartsWith, and FirstN with supported connectors like SQL Server or SharePoint.

  • ronaldwalcott Profile Picture
    3,862 Moderator on at
    Are you trying to get top 50 or first 50? Is there some condition that determines this other than name?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard