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

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

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

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

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

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

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

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

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

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

    Thanks Shane! Delegation was a headache until this video!

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

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

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

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

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

    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!

  • @MarkMcQ
    @MarkMcQ 3 года назад +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  3 года назад +1

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

  • @antonioverga1541
    @antonioverga1541 3 года назад +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  3 года назад

      Agree but hopefully it is better than nothing. :)

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

      @@ShanesCows absolutely

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

    Thanks for this Shane. This is what I needed.

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

    Shane thank you, exactly what i was looking for !

  • @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.

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

    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?

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

    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 :-(

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

    Neat fix, thanks Shane and colleague.

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

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

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

      Power Apps can’t do that.

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

    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 ?

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

    Grazie.

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

      Thank you! I appreciate the support. 🤩

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

    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 :/

  • @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.

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

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

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

    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!

  • @jdelattre
    @jdelattre 3 года назад +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  3 года назад +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 😍

  • @gouravbagora2600
    @gouravbagora2600 3 года назад +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  3 года назад

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

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

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

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

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

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

      Yeah, contains causes delegation challenges.

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

    This is perfect Shane :)

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

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

  • @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

  • @ishitaasethi
    @ishitaasethi 3 года назад +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  3 года назад

      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

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

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

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

    Thanks for such a great trick!

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

    You are a lifesaver ❤

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

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

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

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

  • @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

  • @RT-yi6te
    @RT-yi6te 3 года назад +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  3 года назад

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

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

      @@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.

  • @ashishkarvekar5605
    @ashishkarvekar5605 20 дней назад +1

    Hello shane i am applying these to combobox but getting delegation warning

    • @ShanesCows
      @ShanesCows  19 дней назад

      Combobox is a mean control, have you tested if it is or isn't delegating? It could be lying to you, I am not sure, I have never used StartsWith in a Combobox.

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

    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  2 года назад

      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 3 года назад +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  3 года назад

      CountRows is not delegable 😑

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

      @@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 3 года назад

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

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

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

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

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

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

      Yes, my list had 35,000

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

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

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

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

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

      No, StartsWith is Delegable against a SharePoint Text Column.

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

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

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

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

  • @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!!!

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

    Does it work with Contains?

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

      Contains is not delegable.

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

    You're awesome!!!

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

      Happy to help. Have a great day. 🐶

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

    Thanks for the video...

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

      Happy to help. Have a great day. 🐶

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

    Perfect 👌

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

    Combox Box Delegation resolved😃

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

      It was a fun bonus tip. 🙃

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

    It doesnt work anymore, it still gives a delegation warning

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

      it works, but only on text

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

    Merci 😊

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

    First