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

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 102

  • @phillmackay2314
    @phillmackay2314 Před 2 lety +16

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

  • @ivancuervo777
    @ivancuervo777 Před 2 lety +3

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

  • @PowerAppsTutorial
    @PowerAppsTutorial Před 2 lety +7

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

  • @ericzheng4838
    @ericzheng4838 Před 2 lety +1

    Thanks Shane! Delegation was a headache until this video!

  • @jeanpierreragequit1726
    @jeanpierreragequit1726 Před rokem +1

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

  • @TheKermit2110
    @TheKermit2110 Před rokem +1

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

  • @MarkMcQ
    @MarkMcQ Před 2 lety +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  Před 2 lety +1

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

  • @AS-Consult
    @AS-Consult Před 2 lety

    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!

  • @antonioverga1541
    @antonioverga1541 Před 2 lety +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.

  • @nurlybekbagyt1237
    @nurlybekbagyt1237 Před 2 lety +1

    Thanks for this Shane. This is what I needed.

  • @kidd32888
    @kidd32888 Před 10 měsíci +1

    You are a lifesaver ❤

  • @moneyodsg
    @moneyodsg Před rokem

    Neat fix, thanks Shane and colleague.

  • @moserbua
    @moserbua Před 2 lety +1

    Shane thank you, exactly what i was looking for !

  • @petereriksson6859
    @petereriksson6859 Před 2 lety +1

    This is perfect Shane :)

  • @karolinaunderwood1039
    @karolinaunderwood1039 Před 8 měsíci

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

  • @maryemlakbir9173
    @maryemlakbir9173 Před 2 lety

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

  • @rpopa
    @rpopa Před 2 lety +3

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

  • @luisguillermoalfaro527
    @luisguillermoalfaro527 Před 2 lety +1

    Thanks for such a great trick!

  • @GustavoRoyetRojas
    @GustavoRoyetRojas Před 2 lety +2

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

  • @matheusdias3539
    @matheusdias3539 Před rokem +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  Před rokem

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

  • @massimocolaceci
    @massimocolaceci Před 11 měsíci +1

    Grazie.

    • @ShanesCows
      @ShanesCows  Před 11 měsíci

      Thank you! I appreciate the support. 🤩

  • @user-im1dd3tr7k
    @user-im1dd3tr7k Před rokem +1

    You're awesome!!!

    • @ShanesCows
      @ShanesCows  Před rokem

      Happy to help. Have a great day. 🐶

  • @c.g.schroder4513
    @c.g.schroder4513 Před 2 lety

    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.

  • @kararofe7576
    @kararofe7576 Před rokem

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

  • @RobFahndrich1
    @RobFahndrich1 Před 2 lety +1

    Thanks for the video...

    • @ShanesCows
      @ShanesCows  Před 2 lety

      Happy to help. Have a great day. 🐶

  • @ishitaasethi
    @ishitaasethi Před 2 lety +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  Před 2 lety

      CHeck out this video. Not the exact answer BUT it does show you all of the pieces you need to do what you want. czcams.com/video/YYizaX6gXW0/video.html

  • @GeneOlsen
    @GeneOlsen Před rokem

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

  • @ambarish360
    @ambarish360 Před 2 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 2 lety +1

      Yeah, contains causes delegation challenges.

  • @jdelattre
    @jdelattre Před 2 lety +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  Před 2 lety +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 czcams.com/video/iG8SjWtX1yM/video.html 😍

  • @Krancis133
    @Krancis133 Před 2 lety +1

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

  • @gouravbagora2600
    @gouravbagora2600 Před 2 lety +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  Před 2 lety

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

  • @ssskumar19
    @ssskumar19 Před 2 lety +1

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

  • @sukruthakini
    @sukruthakini Před 2 lety

    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 ?

  • @sowmiyasakthikumar7490
    @sowmiyasakthikumar7490 Před 11 měsíci

    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?

  • @patricktemmler2666
    @patricktemmler2666 Před rokem

    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!

  • @RT-yi6te
    @RT-yi6te Před 2 lety +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  Před 2 lety

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

    • @RT-yi6te
      @RT-yi6te Před 2 lety

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

  • @davidcarrico3385
    @davidcarrico3385 Před 2 lety

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

  • @mri3180
    @mri3180 Před 2 lety +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  Před 2 lety +1

      You will need to use the In operator. I show the concept indirectly in this video czcams.com/video/YYizaX6gXW0/video.html

    • @mri3180
      @mri3180 Před 2 lety

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

    • @mri3180
      @mri3180 Před 2 lety +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  Před 2 lety +1

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

    • @mri3180
      @mri3180 Před 2 lety

      @@ShanesCows Thank you

  • @tusharmehtadxb
    @tusharmehtadxb Před 2 lety +1

    Perfect 👌

  • @gristy58
    @gristy58 Před 2 lety +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  Před 2 lety

      CountRows is not delegable 😑

    • @gristy58
      @gristy58 Před 2 lety

      @@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 Před 2 lety

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

  • @harshithaharshi9659
    @harshithaharshi9659 Před 2 lety

    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

  • @smaug3045
    @smaug3045 Před rokem

    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  Před rokem

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

  • @muhammadsamiullahsiddiqui5241

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

    • @ShanesCows
      @ShanesCows  Před 2 lety

      I offer some filter/search combos in this video to help with delegation. czcams.com/video/lYi24okXDPs/video.html

  • @PJ.289
    @PJ.289 Před 2 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 2 lety +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 Před 2 lety

      @@ShanesCows Thanks!!!

  • @dangdang3631
    @dangdang3631 Před 2 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 2 lety

      No, StartsWith is Delegable against a SharePoint Text Column.

  • @alexkelly757
    @alexkelly757 Před 2 lety

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

  • @helloanurag
    @helloanurag Před 2 lety +1

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

    • @ShanesCows
      @ShanesCows  Před 2 lety +1

      Yes, my list had 35,000

    • @jack7783
      @jack7783 Před rokem

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

  • @itsybitszy
    @itsybitszy Před 2 lety +1

    Combox Box Delegation resolved😃

  • @mikoscience
    @mikoscience Před 2 lety +1

    Does it work with Contains?

  • @winzyl9546
    @winzyl9546 Před 2 lety

    It doesnt work anymore, it still gives a delegation warning

  • @aureliencompany1087
    @aureliencompany1087 Před 2 lety

    Merci 😊

  • @riyaanbrink8574
    @riyaanbrink8574 Před 2 lety +2

    First