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,992 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,908 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

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 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard