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 gallery using S...
Power Apps
Answered

Filter gallery using Startswith on a number column

(0) ShareShare
ReportReport
Posted on by 173
I'm trying to filter a gallery on the ID column in a sharepoint list but I need to avoid delegation issues.  I have tried various versions of the following but it is not pulling in the data.  Any suggestions on how to accomplish this?
 
Filter(
'UserRequests list',
(StartsWith(
Text("ID"),
txtID.Value
))
)
I have the same question (0)
  • remariu Profile Picture
    173 on at
    So, I am able to get the following to work; however, I have a delegation warning.  Is there any way to accomplish this with delegation?
     
    Filter(
    'UserRequests list',
    (StartsWith(
    Text(ID),
    TextInput1.Text
    ))
    )
  • Verified answer
    WarrenBelz Profile Picture
    155,242 Most Valuable Professional on at
    Hi  remariu
    Short answer - no. SharePoint will not accept Delegation of any field type conversion within a filter (so it will not turn all the ID columns to Text and then perform a filter on the resulting text string). You can use AddColumns, but this only masks the warning and it will not filter records beyond your Data Row Limit. â€‹â€‹â€‹â€‹â€‹â€‹â€‹
    Filter(
       AddColumns(
          'UserRequests list',
          IDTxt,
          Text(ID)
       ),
       StartsWith(
          IDTxt,
          txtID.Value
       )
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard