Power Apps StartsWith Filter to avoid Delegation with SharePoint Galleries and Comboboxes

Поделиться
HTML-код
  • Опубликовано: 11 июл 2024
  • The Power Apps StartsWith is a fabulous function you can use within your filter formula to provide some search capabilities without having Delegation issues. StartsWith is fully delegable to SharePoint, SQL, and Dataverse data sources. The video shows you how to use it with a gallery and a combobox while also including And and Or operators. Also, cameo appearnces by Trim and EndsWith. A must add to you data filtering and searching tool belt in PowerApps.
    Power Apps Consulting and training at www.PowerApps911.com
  • НаукаНаука

Комментарии • 101

  • @phillmackay2314
    @phillmackay2314 2 года назад +16

    Absolute perfect timing with this video Shane. You're the only reason my apps work at all. Thank you!

  • @PowerAppsTutorial
    @PowerAppsTutorial 2 года назад +7

    You're always putting out quality content, Shane. Mad respect! Have a great Thanksgiving!

  • @ivancuervo777
    @ivancuervo777 2 года назад +3

    Hello Shane, I like what you are doing now: outlining the formula/expression !!! superb content!

  • @AS-Consult
    @AS-Consult 2 года назад

    Great Video Shane! One short add to at least the text box search input: To avoid multiple search requests (limits etc.) it may make sense to set 'DelayOutput' to 'true'... Just my 2 cents. Thanks to your ongoing good support with your videos!

  • @ericzheng4838
    @ericzheng4838 2 года назад +1

    Thanks Shane! Delegation was a headache until this video!

  • @TheKermit2110
    @TheKermit2110 11 месяцев назад +1

    Hi Shane, watched your latest vid on Delegation and going back through all your related - soooooooooooooooooo useful!!!!!!!!! Kudos to Juan!!!

    • @ShanesCows
      @ShanesCows  11 месяцев назад +1

      Thanks Kermit 🐸!

  • @moserbua
    @moserbua 2 года назад +1

    Shane thank you, exactly what i was looking for !

  • @moneyodsg
    @moneyodsg Год назад

    Neat fix, thanks Shane and colleague.

  • @nurlybekbagyt1237
    @nurlybekbagyt1237 2 года назад +1

    Thanks for this Shane. This is what I needed.

  • @jeanpierreragequit1726
    @jeanpierreragequit1726 Год назад +1

    One more time , a great thanks to Shane, i was looking for a solution with delegation in my sharepoint list .

  • @petereriksson6859
    @petereriksson6859 2 года назад +1

    This is perfect Shane :)

  • @luisguillermoalfaro527
    @luisguillermoalfaro527 2 года назад +1

    Thanks for such a great trick!

  • @kidd32888
    @kidd32888 8 месяцев назад +1

    You are a lifesaver ❤

  • @user-im1dd3tr7k
    @user-im1dd3tr7k 11 месяцев назад +1

    You're awesome!!!

    • @ShanesCows
      @ShanesCows  11 месяцев назад

      Happy to help. Have a great day. 🐶

  • @kararofe7576
    @kararofe7576 Год назад

    Hi Shane! This was so helpful. What would I do if I have multiple observations and I just want the unique observations? I know Distinct isn't delegable :/

  • @MarkMcQ
    @MarkMcQ 2 года назад +1

    Shane, use [Windows Key] - V. Turn on, then store your clipboard history. You can pin frequently used snips or bring code back that you've cut [Ctrl]-X or copied [Ctrl]-C to your clipboard.
    [Windows Key] - . (period) is also fun.

    • @ShanesCows
      @ShanesCows  2 года назад +1

      I use both a lot Mark. 😎 Big fan of the emojis. 🐶

  • @karolinaunderwood1039
    @karolinaunderwood1039 6 месяцев назад

    This is great, thank you. However, how can you now also amend Gallery items so it shows only records that are from Combobox - multi selection? My datasource is well over 2,000 in SQL and filtering from ComboBox of multi selected items doesn't work :-(

  • @sukruthakini
    @sukruthakini 2 года назад

    Thanks a lot for this video. One query but not related to the video. I am using List as backend. There is no transaction (commit/rollback). So what is the option available in Powerapp when we have to update multiple tables ?

  • @RobFahndrich1
    @RobFahndrich1 2 года назад +1

    Thanks for the video...

    • @ShanesCows
      @ShanesCows  2 года назад

      Happy to help. Have a great day. 🐶

  • @c.g.schroder4513
    @c.g.schroder4513 2 года назад

    Thank you!
    So helpful. I have a very large list of Locations that I put into a ComboBox with selectmlultiple set to false, I was able to fix the Items property to be Filter(Locations, StartsWith(Title, Self.SearchText)). The ComboBox, works and posts back to the SharePoint list, New/View forms work as expected. My issue comes when a user Edits a row, the Location shows the correct city from the data that was added to the list in the New form, BUT the form forces the user to re-add the location. The required setting on the location is called even though it is pulling the data from the list.

  • @patricktemmler2666
    @patricktemmler2666 11 месяцев назад

    Hello Shane,
    great video as always great explained but can it be that it does not work with document libraries. I wanted to use Startswith in a document library (200.000 entries/files) but I always get a delegation warning and not all entries are found ;-(
    Please keep up the good work with your videos!
    Thanks from Germany!

  • @maryemlakbir9173
    @maryemlakbir9173 2 года назад

    Everything is delegable for me, I think there have been some updates in Power apps !!

  • @sowmiyasakthikumar7490
    @sowmiyasakthikumar7490 9 месяцев назад

    This is awesome. Thanks a lot Shane! I have a sharepoint list 1 with 61K data (id, name, status columns) and I have another sharepoint list 2 which has id and name column that needs to be filtered from Sp list 1. In my PowerApps- I have Sp list 2 connected in the form and the when a user types the id or name on sp list 2, it should filter with the starts with function and auto populate the id and name for them. Instead of using a separate search box to search, I want to utilise the same text boxes in PowerApps with id and name from which a user typed either on ID field it auto fills the name and vice Versa. Can this be achieved?

  • @davidcarrico3385
    @davidcarrico3385 2 года назад

    Great video. Too bad this doesn’t work with Salesforce. What is the best source for information on what can be delegated to Salesforce?

  • @GeneOlsen
    @GeneOlsen Год назад

    Hi Shane, this doesn't seem to work for any copy/paste values when searching, any thoughts?

  • @tusharmehtadxb
    @tusharmehtadxb 2 года назад +1

    Perfect 👌

  • @aureliencompany1087
    @aureliencompany1087 2 года назад

    Merci 😊

  • @Krancis133
    @Krancis133 2 года назад +1

    Great video! Does starts with can also be applied to dropdowns to filter data table?

  • @harshithaharshi9659
    @harshithaharshi9659 2 года назад

    How to get the top 3 highest values among 10 other columns ?? Which is best way to create it by calculated column or can it be done by power apps ?? Could you please help me on this

  • @ssskumar19
    @ssskumar19 2 года назад +1

    Hey Shane, How about contains operator ? Is it delegatable? Using the contains, will relevant/global search on all columns of Gaient work?

  • @antonioverga1541
    @antonioverga1541 2 года назад +1

    Great workaround.
    The downside I see on this solution is that the Search function looks for the text anywhere in the text field. This one only looks for the beginning of the string.

    • @ShanesCows
      @ShanesCows  2 года назад

      Agree but hopefully it is better than nothing. :)

    • @antonioverga1541
      @antonioverga1541 2 года назад

      @@ShanesCows absolutely

  • @jdelattre
    @jdelattre 2 года назад +1

    Thank's so much ! Just one question. If I do one search in a filter, does it wok ?
    Search(
    Filter (
    GIANT, StartsWith (Animal, TextInput1.Text
    );
    TextInput2.Text,
    "Title"
    )

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Yes, and the Filter portion will delegate but the search portion will not. Believe it or not I have a video talking about exactly this ruclips.net/video/iG8SjWtX1yM/видео.html 😍

  • @alexkelly757
    @alexkelly757 2 года назад

    Does anyone know if this works with the "name" column in a document library?

  • @matheusdias3539
    @matheusdias3539 Год назад +1

    Hello,
    I'm from Brazil, if got this. May I use the function Filter ( data base ; Startswith .... ) to filter itens from a data base with more than 2000 itens ? Is that it ? Is it delegable ?

    • @ShanesCows
      @ShanesCows  Год назад

      Yes, StartsWith is Delegable. 😎 You idea is exactly right.

  • @GustavoRoyetRojas
    @GustavoRoyetRojas 2 года назад +2

    Hey Shawn, what about shearching for a specific text within a registry?

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Power Apps can’t do that.

  • @gouravbagora2600
    @gouravbagora2600 2 года назад +1

    Thanks Shane for sharing. I am trying the same trick with a SharePoint calculated column but it stills throws the delegation warning. Any solution for delegation problems with calculated columns?

    • @ShanesCows
      @ShanesCows  2 года назад

      I don't. :( I don't think it is possible.

  • @ishitaasethi
    @ishitaasethi 2 года назад +1

    This is was great. Just one small question, might be stupid. Is there a way to filter gallery based on what is selected in combobox, given the combobox is multi-selected?

    • @ShanesCows
      @ShanesCows  2 года назад

      CHeck out this video. Not the exact answer BUT it does show you all of the pieces you need to do what you want. ruclips.net/video/YYizaX6gXW0/видео.html

  • @massimocolaceci
    @massimocolaceci 9 месяцев назад +1

    Grazie.

    • @ShanesCows
      @ShanesCows  9 месяцев назад

      Thank you! I appreciate the support. 🤩

  • @ambarish360
    @ambarish360 2 года назад +1

    Shane, what if we want to filter a column Contains some value instead of StartsWith. With same delegation in picture

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Yeah, contains causes delegation challenges.

  • @smaug3045
    @smaug3045 Год назад

    Hi, Shane thanks for your great videos they hepl a lot. I am a getting delegation error with a Choice column = Filter(Names, StartsWith(ChoiceName.Value, txtSearch.Text))

    • @ShanesCows
      @ShanesCows  Год назад

      Try it flipped around. ilter(Names, StartsWith( txtSearch.Text, ChoiceName.Value)) Though I am not sure if StartsWith works with Choices or not.

  • @gristy58
    @gristy58 2 года назад +1

    Hey Shane - this sounds great - but i just tried and its not working i still get delegation warnings is it because i am using a choice column? CountRows(Filter(Approvals, StartsWith(Status.Value,"Pending") ))

    • @ShanesCows
      @ShanesCows  2 года назад

      CountRows is not delegable 😑

    • @gristy58
      @gristy58 2 года назад

      @@ShanesCows ah bugger all good i tried without it and still got the same issue on my gallery with the following, i think i am just going to delete items as they are transient. Filter(Approvals, StartsWith(Status.Value, "App") && StartsWith(Approver.Email, User().Email))

    • @gristy58
      @gristy58 2 года назад

      @@ShanesCows got it all working used a flow for the counting instead, got rid of all my yellow triangles!

  • @helloanurag
    @helloanurag 2 года назад +1

    Hey Shane! Will it work with a List having close to 40,000 items?

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Yes, my list had 35,000

    • @jack7783
      @jack7783 Год назад

      @@ShanesCows will it also work for Excel online table instead of Sharepoint list? I am getting issues

  • @mri3180
    @mri3180 2 года назад +1

    Hi Shane, Any examples for the Person field with multiple values in each cell by using the data table filter or search?

    • @ShanesCows
      @ShanesCows  2 года назад +1

      You will need to use the In operator. I show the concept indirectly in this video ruclips.net/video/YYizaX6gXW0/видео.html

    • @mri3180
      @mri3180 2 года назад

      @@ShanesCows Thank you so much. Appreciated. Lots of love.

    • @mri3180
      @mri3180 2 года назад +1

      Tried using the below but none of them worked.
      "AssignedTo" in (ComboBox6.Selected.DisplayName) || IsEmpty(ComboBox6.Selected.DisplayName) || IsBlank(ComboBox6.Selected.DisplayName)
      "AssignedTo" in (ComboBox6.SelectedItems) || IsEmpty(ComboBox6.SelectedItems) || IsBlank(ComboBox6.SelectedItems)

    • @ShanesCows
      @ShanesCows  2 года назад +1

      @@mri3180 "AssignedTo" in ComboBox6.SelectedItems.ColumnName

    • @mri3180
      @mri3180 2 года назад

      @@ShanesCows Thank you

  • @rpopa
    @rpopa 2 года назад +3

    Great video, to bad there isn't a way (least to my knowledge) to search using IN without delegation issues.

  • @RT-yi6te
    @RT-yi6te 2 года назад +1

    Hi. Any magic trick to search not limited to the begining of field? It would be nice to have a way to search anywhere in the field.

    • @ShanesCows
      @ShanesCows  2 года назад

      The Search function does exactly that BUT it is not delegable 😔

    • @RT-yi6te
      @RT-yi6te 2 года назад

      @@ShanesCows Yeah. That is the "magic" we are looking for. To avoid the delegation issue. Without that it is not feasible to search only in the begining of the field. Thanks.

  • @muhammadsamiullahsiddiqui5241
    @muhammadsamiullahsiddiqui5241 Год назад

    How can i use filter with sharepoint lookups with large data set?

    • @ShanesCows
      @ShanesCows  Год назад

      I offer some filter/search combos in this video to help with delegation. ruclips.net/video/lYi24okXDPs/видео.html

  • @dangdang3631
    @dangdang3631 2 года назад +1

    I thought it will always limited with the 2000 items of the delegation?

    • @ShanesCows
      @ShanesCows  2 года назад

      No, StartsWith is Delegable against a SharePoint Text Column.

  • @itsybitszy
    @itsybitszy 2 года назад +1

    Combox Box Delegation resolved😃

    • @ShanesCows
      @ShanesCows  2 года назад

      It was a fun bonus tip. 🙃

  • @mikoscience
    @mikoscience 2 года назад +1

    Does it work with Contains?

    • @ShanesCows
      @ShanesCows  2 года назад +1

      Contains is not delegable.

  • @PJ.289
    @PJ.289 2 года назад +1

    How i can have a Sharepoint List with more of 5000 iTems?

    • @ShanesCows
      @ShanesCows  2 года назад +1

      SharePoint doesn't limit the number of items you can have. The more items you have the slower your app will be but there isn't really a limit.

    • @PJ.289
      @PJ.289 2 года назад

      @@ShanesCows Thanks!!!

  • @winzyl9546
    @winzyl9546 2 года назад

    It doesnt work anymore, it still gives a delegation warning

    • @winzyl9546
      @winzyl9546 2 года назад

      it works, but only on text

  • @riyaanbrink8574
    @riyaanbrink8574 2 года назад +2

    First