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 table ListBox
Power Apps
Unanswered

Filter table ListBox

(0) ShareShare
ReportReport
Posted on by 23

Trying to do a simple filter of Column 2 of a table and present column 1 in a listbox. The filter value is input from selection list. the code below was applied to the "items" property of the listbox.

Filter(AreaID, AreaID.'Project 123' = Project_Selection_List_1.SelectedText.Value)

 

Warning is "Delegation warning. The "Filter" part of this formula might not work correctly on large datasets.

 

 

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Try:

    Filter(AreaID, 'Project 123' = Project_Selection_List_1.SelectedText.Value)

    If you are always expecting less than 500 records to be returned (or up to 2000 if you change the row-limit setting), you can safely ignore delegation warnings.

     

    Hope this helps,

    Bryan

     

  • CGeorgeoff Profile Picture
    23 on at

    Hi,

     

    Good to know about the delegation limits, thank you. Unfortunately the code is still not working, now receiving the following.

     

    CGeorgeoff_0-1639408354581.png

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @CGeorgeoff wrote:

    Hi,

     

    Good to know about the delegation limits, thank you. Unfortunately the code is still not working, now receiving the following.

     

    CGeorgeoff_0-1639408354581.png

     


    It's indicating a problem with the control named Project_Selection_List_1. Is that a dropdown?

    Also, what type of column is 'Project 123'?

     

    Bryan

  • CGeorgeoff Profile Picture
    23 on at

    Thanks for the prompt response Bryan.

     

    Yes, that is a dropdown. Currently the type is set to "text", I have tried with "General" as well.

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Assuming your column is a single line of text type, try the following:

    Filter(AreaID, 'Project 123' = Project_Selection_List_1.Selected.Value)

     

  • CGeorgeoff Profile Picture
    23 on at

    Each entry in that column are 5 digit numbers (ex. 01030).

     

    For the above, selected.value wasn't a option so changed to selected.result 

    Resulted in an error again, see below.

    CGeorgeoff_0-1639410905848.png

     

     

  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, if you've been changing the column types around, Power Apps is probably confused as to what type of data to expect in the column. Typically, it reads the table schema only during the connection of the data source, so please disconnect and then reconnect the data source. This will force Power Apps to re-read the schema and hopefully straighten this out for you.

     

    Bryan

     

  • CGeorgeoff Profile Picture
    23 on at

    I have deleted and re-added the data source without success. The equation is still returning the same error. 

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @CGeorgeoff wrote:

    I have deleted and re-added the data source without success. The equation is still returning the same error. 


    This version is non-delegable, but give it a try:

    Filter(AreaID, Project_Selection_List_1.Selected.Result in 'Project 123')

    If that still doesn't work, can you verify the answer to each of these questions:

    1. AreaID is a SharePoint List which contains a column named 'Project 123'
    2. 'Project 123' is a column of type: single line of text
    3. Project_Selection_List_1 is a dropdown
    4. The Items property of Project_Selection_List_1 is Distinct('Project 123')

    Is the answer "yes" to all 4 of those questions?

    Bryan

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard