web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : wUIydXGIACUARa8DMewTeh
Power Apps - Building Power Apps
Answered

StartsWith issues - else delegation issues

Like (0) ShareShare
ReportReport
Posted on 15 Mar 2024 10:48:53 by 23

Hello

I have a canvas app, with SP List as the data source.

 

I have been trying to get around delegation and the only way I could do so, was using StartsWith, the issue with StartWith in my scenario is we have accounts both with First Name/Surname and Surname/FirstName, which means any user I'm looking for who has Surname/FirstName will not be found by the search text:

Below is my Items property of my gallery, is there a workaround:

Filter(
 SPLIST,
 (IsBlank(TxtInputSearch.Text) || StartsWith(FullName.DisplayName, TxtInputSearch.Text))
 && (IsBlank(DDLevel.Selected.Value) || Level.Value = DDLevel.Selected.Value)
 && (IsBlank(DDStatus.Selected.Value) || Status.Value = DDStatus.Selected.Value)
 && (IsBlank(vDateFilter) || ReviewDate <= vDateFilter)
)

 

Thank You

  • Verified answer
    WarrenBelz Profile Picture
    149,147 Most Valuable Professional on 15 Mar 2024 at 11:01:45
    Re: StartsWith issues - else delegation issues

    Hi @PAppsAlways1 ,

    Firstly, I will be clear that this may not be a total solution as the top filter needs to return record numbers under your Data Row Limit

    With(
     {
     _Data:
     Filter(
     SPLIST,
     (
     Len(DDLevel.Selected.Value) = 0 || 
     Level.Value = DDLevel.Selected.Value
     ) && 
     (
     Len(DDStatus.Selected.Value) = 0 || 
     Status.Value = DDStatus.Selected.Value
     ) && 
     (
     IsBlank(vDateFilter) || 
     ReviewDate <= vDateFilter
     )
     )
     },
     Filter(
     _Data,
     Len(TxtInputSearch.Text) = 0 || 
     TxtInputSearch.Text in FullName.DisplayName
     )
    )

     

    Please click Accept as solution 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 Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473