cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bchager6
Helper I
Helper I

Handling delegation warnings

Hi everyone...

 

I inherited a Power App with a page connected to a SharePoint list that's returning a delegation warning. I've been able to handle a different delegation warning by using the StartsWith function within the Items property of a gallery, but I need help with the below formula. 

 

Can anyone suggest where I might insert, "StartsWith?"

 

SortByColumns(Filter('SharePointList',(Title_search.Text in Title || Title_search.Text in Author.DisplayName || Title_search.Text in Owner.Value) || IsBlank(Title_search.Text)),"Title")

 

Thanks in advance to anyone who can help.

4 REPLIES 4
Ramole
Super User
Super User

Hi @bchager6 

Let me give you an example here is a code am using multi StartsWith and is delegable which you can amend to your requirements

 

 

Filter(Customers,
         (
            Or(
                  StartsWith(Company,InpSearchCustomerMain.Text),
                  StartsWith('Business Phone',InpSearchCustomerMain.Text),
                  StartsWith(City,InpSearchCustomerMain.Text),
                  StartsWith(Address,InpSearchCustomerMain.Text),
                  StartsWith('ZIP/Postal Code',InpSearchCustomerMain.Text)
                 
                  )
                 
         )))

 

  

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.
Ramole
Super User
Super User

@bchager6 

That this Solve what you have asked? 

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.
WarrenBelz
Super User
Super User

Hi @bchager6 ,

Try this

SortByColumns(
   Filter(
      'SharePointList',
      Len(Title_search.Text) = 0 ||
      (
         StartsWith(
            Title, 
            Title_search.Text
         ) || 
         StartsWith(
            Author.DisplayName
            Title_search.Text
         ) ||
         StartsWith(
            Owner.Value, 
            Title_search.Text
         )
      )
   ),
   "Title"
)

 

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.

Visit my blog Practical Power Apps

Ramole
Super User
Super User

Hi @bchager6 
Let me know if you need any more assistance.

Thank you
If this post helps, then Click on the Thumbs Up below. and Accept it as the solution . to help others find helpful.

Helpful resources

Top Solution Authors
Top Kudoed Authors
Users online (4,299)