Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

Power Apps StartsWith vs EndsWith: Syntax, Case and Delegation Tested on SharePoint

Think about where your users type. Search boxes almost always match the start of a value, like a ticket title or a last name, and that’s exactly what StartsWith does. EndsWith checks the last characters, which is handy for file extensions and reference numbers.

Here’s my rule after testing both on a SharePoint list with more than 500 items: use StartsWith whenever the filter runs against SharePoint, and keep EndsWith for collections, small lists or single text values. StartsWith delegates to SharePoint; EndsWith doesn’t, and it misses rows without any error.

In this tutorial, we’ll compare the Power Apps StartsWith and EndsWith functions on one real list. You’ll see the syntax, case sensitivity, the delegation warning, the wrong counts it causes, and how to switch an EndsWith search to one that finds every row.

StartsWith vs EndsWith in Power Apps at a Glance

Both functions take two pieces of text and return true or false. Here’s the syntax from Microsoft Learn:

StartsWith( Text, StartText )
EndsWith( Text, EndText )

Every test below runs on the same Service Requests list on my SPGuides site, with titles such as VPN access #1517 and Password reset #1017. Here’s how the two compared. If you’re new to formulas in canvas apps, the Power Apps tutorials hub is a good place to start.

FeatureStartsWithEndsWith
ChecksThe first characters of the textThe last characters of the text
Returnstrue or falsetrue or false
Case-sensitive?No (on SharePoint and collections)No (on SharePoint and collections)
Empty search textReturns true, so every row showsReturns true, so every row shows
Delegable to SharePointYes, on Text columnsNo: yellow delegation warning
Past row 500 on SharePointFound (VPN access #1517, ID 518)Missed: 0 rows for #1517
Choice or Lookup subfieldsNot delegableNot delegable
Typical useSearch-as-you-type galleriesFile extensions, suffix checks

Build the Demo App Step by Step

You can follow along with any SharePoint list that has more than 500 items. Mine is Service Requests, with 620 sample requests and the columns Title, Status, Priority, Requester, DueDate, RequestedOnText and MeetingStart.

Service Requests SharePoint list with 620 sample items used to test StartsWith and EndsWith

Sign in to make.powerapps.com and select Start with design on the Home page.