Power Apps Search and Filter Functions on Large SharePoint Lists

Sdílet
Vložit
  • čas přidán 29. 07. 2024
  • In this video, you will learn how to use the PowerApps Search Function, Filter Function & combine both. These functions are useful to allow users to search through all items in your data source and/or filter your data. We will build a search box, look at delegation (working with large data sources e.g. SharePoint Lists) & understand why Search function may not return all items with SharePoint as a data source. We will explore delegable functions like StartsWith & look at a technique of performing search against a filtered (delegable) result set.
    Video covers the following:
    ✅ What is Delegation? Key concept to understand
    ✅ Search Function
    ✅ Filter Function
    ✅ Search and Filter functions combined
    ✅ Search on multiple columns
    ✅ StartsWith & IN Functions
    ✅ Delegable Filter Query & Search (Non-Delegable) on filtered result set
    My PowerApps Delegation Playlist:
    • Power Apps Delegation ...
    Power Apps Filter Gallery:
    • PowerApps Multiple Fil...
    • Power Apps Sort and Fi...
    #PowerApps #Search #Filter #Delegation #SharePoint
    Table of Contents:
    00:00 - Intro
    00:31 - Power Apps connected to SharePoint List
    00:54 - PowerApps Delegation - Working with Large Data Sources
    03:55 - Search box in Power Apps (Search function delegation challenge)
    07:28 - Search function limitations with Large SharePoint Lists
    07:51 - StartsWith function supports delegation
    09:32 - StartsWith Search on multiple columns
    10:24 - Search & filter on Power Apps Galleries
    12:15 - Filter & Search SharePoint List in Power Apps with delegation
    19:34 - Subscribe to Reza Dorrani channel

Komentáře • 587

  • @DanielChristian19
    @DanielChristian19 Před 2 lety +30

    The varDataCount with the slider control was my personal favorite. Well done Reza.

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Thanks Dan 😊

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

      @@RezaDorrani Yes me too. Totally agree with Daniel here :)

    • @danielgil9651
      @danielgil9651 Před 2 lety

      What minute can I see the slider?

    • @RoseDing-jc1fl
      @RoseDing-jc1fl Před 27 dny

      @@danielgil9651 13:44, but u should watch the video from the beginning, to understand why he put the slider in

  • @NKBobcat
    @NKBobcat Před 2 lety +6

    Wow! This helps a lot! I never knew I could combine multiple filters in on text input. Also, I always set the records from 500 to 2000. It looks like I have some fine tuning to do that will improve performance! Thank you!

  • @juancamilopesca2556
    @juancamilopesca2556 Před měsícem +2

    Whatever I need, find a solution from you.
    Again thank you, amazing contribution!

  • @RoseDing-jc1fl
    @RoseDing-jc1fl Před 27 dny +1

    This is in all ways superb. Thank you ❣For the search reset button I had to use '+' instad of ',' - only then I was able to combine the reset functions. Now its working 😁

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

    That's interesting! I never thought about getting data with inner queries and then applying additional non delegable queries to get the results. Thanks Reza for such unique information.

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

    It's exactly what I needed, had a problem with delegation on a large list and search with cascading filtering components. Thank you for the great lesson!!!!

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

    Wow. This is just excellent. This resolves so many 'issues' with apps that work with large Sharepoint lists. Thanks for your patient, methodical teaching.

  • @andrewcassells9391
    @andrewcassells9391 Před rokem +1

    Hi Reza, this is absolutely fantastic. I had been banging my head against a brick wall trying to achieve this but your tutorial was explained and covered in depth and has solved my issue. Keep up the good work.

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

    Thanks a lot, Reza. Been working on my project through the help of your videos but got stuck in the search part. It seems like the universe is telling to continue it now after seeing this video. Amazing work! Looking forward to your next uploads

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Thank You so much. Keep going with your project.

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

    Excellent - managed to adapt this to use one field to search one of 3 columns (rather than 2 drop downs and a text field) UPRN, PostCode and Address to narrow down and get below the power apps limits with a 139K row share point table. Surprisingly fast. Also put in a default value in the text field - so it started with only one record to pull.

  • @simonball5602
    @simonball5602 Před rokem +1

    Ingenious solution to a common and annoying share point problem. Thank you again Reza.

  • @dougydoe
    @dougydoe Před rokem +3

    Not sure I got to watch this when you released this a year ago. I'm about to embark on a project which will require that I provide filtering/Search capabilities to I decided to refresh from my no 1 go-to source and I certainly wasn't disappointed. Great insight and thanks for that. 🤣

  • @andreawatkins9926
    @andreawatkins9926 Před 10 měsíci +3

    Love how you explain in such detail. This is one of the most helpful tutorials I've found.

  • @catapalfi6760
    @catapalfi6760 Před rokem +1

    Works great with combo boxes as well. Thanks Reza, you saved us again!

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

    Reza ur the best bro, understanding the pulse of the audience and knowing their needs is the next level u pushed to.

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

    You are a true gem for our community. Many thanks for this great video!

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Wow, thank you!

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

      @@RezaDorrani at the contrary, we should all be saying thank you

  • @garywhittaker8832
    @garywhittaker8832 Před rokem +2

    Have been banging my head on this one for 3 days, THANK YOU

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

    Great work Reza as usual. I didn't know the delegable part of your overall query will still work even if the overall query is not delegable. That is very helpful.

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

    Reza, you never fail to produce informative and beautifully explained concepts!

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

    Best explainers of delegation around. Excellent work Reza.

  • @Voltzz1982
    @Voltzz1982 Před rokem +1

    Thank you so much Reza. You and Shane Young are my heroes for complicated Power Apps issues! :)

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

    Dear Reza, Your chanel as well as Daniel's are so incredible in terms of knowledge. I'm so impressed and sooooo thankful for your work. Thanks a million times !🤗

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Wow, thank you so much. We try our best to share what we learn.

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

    Amazing video !! You help the entire comunity bring this videos for us Reza, i just only to say THANK YOU !

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      My pleasure. Thank You so much for watching my videos.

  • @365g
    @365g Před 2 lety +2

    Great stuff Reza - Some amazing tips!
    Loving the conditional use of In. I would say if there were metrics on what functions get used the most in apps, the In function is now trending sharply upwards! 😀

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

      Thank You. I hope the trend is UP :)

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

    Thanks Reza! This was EXACTLY what I needed. I appreciate your ability to explain in detail very quickly! I’m very new but expected to perform at the highest level. I hope you can help me do that. I will subscribe to your channel.

  • @ramolestoreinc.8175
    @ramolestoreinc.8175 Před 2 lety +2

    Reza you done it again you're the best PowerApps guru I ever seen bottom of my heart as you make impossible possible thank you for you help and teaching us ♥, I hope one day you will show us a loan app calculation or sales ordering app please put it in dairy for future thanks

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Wow, thank you so much.
      I will add your requests to my backlog.

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

    Dear Reza, You are exceptional. You make very interesting videos on power apps and associated tools. Your explanations are extremely clear and well structured, I have never seen so good videos on the net than yours. You exactly explain what I am looking for without useless comments or parasites like most others do. You do a very good job and you are a very pleasant person. Congratulations, best regards. Greatings from Belgium ! All the best for the new year.

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Thank you very much!
      My focus has always been to cut out any fluff & get straight to the point :)

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

      @@RezaDorrani You do it perfectly, congrats !

  • @FarhanKhan-lr4tv
    @FarhanKhan-lr4tv Před 2 lety +1

    Assalamu alikum.
    You are the power man of the PowerApp and going this platform to next level 👍
    Thank you ❤️

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

    It is extremely good session for filters. Thanks Reza Dorrani❤

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

    Thank Reza for sharing videos with great tips. I found them brilliant, easy to understand and exactly what I'm after for my work. Well done 👍👏

  • @Gac3nty
    @Gac3nty Před rokem +1

    Best is entrance of every film ;) . But to the point. Thank You Reza for all movies. Very helpful

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

    I got it again amazing lesson and enjoyed it during learning. Thank you so much Reza.

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

    awesome video explaining a challenging concept. Good work Reza!! Appreciate the clarity and insight.

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

    Exactly what I was looking for..thanks !

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

    Thanks Rezza, always something worthwhile learnt.

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Glad to hear that. Thanks for watching.

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

    Excellent content as always. You are my go to when i need help with PowerApps.

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

    What a clean explanation! Top notch

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

    Superb explanation! Thank you Rezza!!🍻

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

    Reza, very well explained and got what we exactly want.

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Glad to hear that! Thanks for watching.

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

    Thank you so much Reza. I have always wondered on how to work on large dataset from SQL. Thanks for the insight

  • @rahulkumar-3059
    @rahulkumar-3059 Před 2 lety +1

    Thanks Reza. Really helpful video. Just what I was looking for.

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

    From Argentina, thanks!

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

    Brilliant, thank you Rezza!

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

    Yes , good idea in powerapps filter and search with sharepoint list , now I will think about how to modify my code to meet my boss demand !!!

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

    Thank you very much! Helpful as always! My project is based on your videos😂

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

    So well explained. Thanks Reza 💥👍

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

    This is awsm ... following your videos bring 'VALUE ADD' to projects

  • @HaiNguyenMD
    @HaiNguyenMD Před rokem +1

    Thank you so much for this Reza. I learned a lot and was able to implement a similar functionality using dataverse table.

  • @nirajnath6661
    @nirajnath6661 Před 7 měsíci +1

    Brother you are teaching like you made this Power Apps. Superb

    • @RezaDorrani
      @RezaDorrani  Před 7 měsíci

      Wow that’s a big compliment. Thanks Niraj

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

    Awesome, I like the way you describe it. Thank you.

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

    Awesome delegation handling video Reza👌👌👍

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

    Smart way ! Thanks reza !
    An alteenative if they want to use search only is to ask them to use sharepoint :) the search support billion of entries as it is indexed

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

    Thanks a lot for the Reza, recently I was looking for this :) :)

  • @KavitaSingh-oc5ku
    @KavitaSingh-oc5ku Před 2 lety +1

    Awesome Never gave a thought on combining it. 🙃

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Me neither until I came across a requirement to get this to work :)

  • @al-omdaahmed3191
    @al-omdaahmed3191 Před rokem +1

    now this is great thank you so much for the work and effort

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

    Simply amazing.. thanks a ton.😀

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

    Very nice innovation Reza (up to your usual standards of course). I have bookmarked this and you should get some more views from forum responses on this subject. Warren Belz

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

    feel hard to learn this logical operation but thanks a lot for your solution, so much helpful

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

    Excellent! Thank you!

  • @ZawWinHtun-jq9qv
    @ZawWinHtun-jq9qv Před 4 měsíci +1

    Bro your video is amazing and very helpful to me. Hope to see a lot of upcoming videos.

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

    Awesome video! Thank you!

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

    You are the best, this video is useful!!!

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

    excellent video, a sincere thanks Reza!

  • @chairattangthong
    @chairattangthong Před 5 měsíci +1

    Thank you so much Teacher you are the best ❤

  • @ally1708
    @ally1708 Před 2 měsíci +1

    Hello Reza, thanks for sharing. I'll try to implement this solutions.

  • @StephanOnisick
    @StephanOnisick Před rokem +1

    Excellent Coverage!

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

    This helped me big time. Thanks

  • @fleurwilliamson5920
    @fleurwilliamson5920 Před rokem +1

    This is so helpful. Thank you Reza - the like button just isn't enough. I used the Thanks button for the first time ever. Hope you enjoy a nice coffee on me.

  • @snooki9
    @snooki9 Před rokem +1

    Great Reza ! Thanks a lot !

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

    Excellent Video as always...

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

    thank you very much!

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

    Another superb video

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

    Thanks for sharing this Reza.

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

    This one rocks amazing video

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

    your Good Man thank you Reza

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

    Thanks for your video... amazing

  • @kelechie.2011
    @kelechie.2011 Před 2 lety +1

    Very helpful.. thank you

  • @2210duynn
    @2210duynn Před rokem +1

    Awesome !!!!

  • @fleurwilliamson5920
    @fleurwilliamson5920 Před rokem +1

    Thanks!

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

    Great content, thanks for sharing your knowledge. I would give it 2 thumbs up if I could.

  • @khaledabdel-rahman9748
    @khaledabdel-rahman9748 Před 2 lety +1

    This is very valuable info

  • @wolfcompany2
    @wolfcompany2 Před 9 měsíci

    @Reza Dorrani why isit that when user press save changes or refresh button, all the value is reset to blank (visually). The database does save their changes made, but to see the records again... they will have to either refresh the entire app, or type some something in the text filter, then cancel it and itll show the right data. What is going on?

    • @RezaDorrani
      @RezaDorrani  Před 9 měsíci

      This is not the case in my scenario.
      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

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

    Very useful info thanks for sharing.

  • @shanakaj007
    @shanakaj007 Před rokem +1

    Amazing channel better than Microsoft Tutorials.

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

    Top Reza, the combi of filter and search; did not think of this before. Still Microsoft should give us the delegable 'in' operator for SharePoint 😊 (missing that so much on >8K lists) ; must be easy as the SharePoint underlying database is SQL Server. Probably Microsoft wants to keep a distance to the SQL connector ... but that is under premium license 😒. Gr. Lex

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

    Amazing! Thank you for this. Will definitely use this on my project.
    I have one question, regarding a problem I’m facing. I have a 10k items sharepoint list. Each row is assigned for a particular individual (about 50 distinct individuals). When I put a dropdown control so I can filter the person, the dropdown itself dont load all the 50 people. Only a few, from the first 500 rows from the limit that was set. How can I overcome this? It’s an important filter so I can check each one’s work.

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

      You can try the person type technique I showcased in this video. Distinct function is not delegable with SharePoint.
      I do not have a video on your use case. I will recommend you check on the forums at powerusers.microsoft.com/

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

      @@RezaDorrani thanks!

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

    Hi Reza, as always your videos are great content, easy to understand and very imporant! Thank you so much for your work! I currently try to do a full text search an a sharepoint document library. Do you have a way to search & filter in .txt .pdf .doc files etc.?

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      Thank You.
      Not sure about searching in files. Something for me to investigate on.

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

    Another great video. Is it possible to filter a gallery but only have the power app show 5 items.

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

      Why would you want that? :)
      You can use FirstN(filter( your condition), 5)

  • @GhostUnity_frenchairsoftteam

    Hello Mr Dorrani,
    Your videos are amazing, thank you to help the Power Apps community !
    I'm new in Power Apps, and I want to create a research bar which can accept all values of my sharepoint columns (column 1 = material (steel, wood, stone, etc), column 2 = quantity (50, 600, 5, etc.) etc).
    Writing steel, 750 or other value, I want to display the results.
    I have big difficulties to do it, I tried by many ways, but I know I'm close...

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

      Thanks for liking and watching my videos.
      I do not have a video on your scenario and it is something I have not tried.
      I would recommend to post your query on the forums at powerusers.microsoft.com in case someone has done something similar.

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

      @@RezaDorrani Thank you for your quick answer, have a nice day !

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

    Superb!

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

    Thank you Reza, very helpful. Do you have any tutorials for the count you have on this video which changes depending on the selected records?

    • @RezaDorrani
      @RezaDorrani  Před 2 lety

      At what time in the video do I show the count?

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

    Thank you! clearly, beautifully, visually.
    I get ideas from you on application design)
    1.If I set a limit of 2000 and know that I will not have more than 2000 lines, can I not do these manipulations with delegation, hiding the search string?
    2. And the question is why is it not desirable to make a limit of 2000 lines?
    3. do I understand correctly that if there is less than the entered limit, for example 2000, the filtering function will show all the values searched for through the search bar

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

      1 - if less than 2000 items, then you can directly use Search function.
      2 - Since all those 2000 records will be loaded in memory in your Power App.
      3 - same as point 1. If you have less than 2000 records, you can avoid delegation.

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

    Thank you

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

    Nice video Reza 👍👍

  • @skim32
    @skim32 Před 9 měsíci +1

    Works well as long as you are okay with the default sorting which is oldest to newest. I want to display newest to oldest, so when I put in a sort function, the gallery will only show the oldest 500 rows.

    • @RezaDorrani
      @RezaDorrani  Před 9 měsíci

      That should not be the case. I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @priyankabhatt2185
    @priyankabhatt2185 Před měsícem +1

    This video was very helpful, One Question: Just like the way we filtered text columns, is there a way we can filter choice type columns using Starts with function? Meaning I don't want to create additional dropdown filters, I want the filtering to happen on the search box, and it has to filter text as well as value(dropdown values).

    • @RezaDorrani
      @RezaDorrani  Před měsícem

      May be possible but not something I have tried or have a video reference for.

  • @simranbudhwani4887
    @simranbudhwani4887 Před 4 měsíci

    Hello,
    I am using SQL server as the data source and I used a drop-down list to filter data where in items property, I have given all the distinct values of that particular data. But since power apps only stores 2000 records in its memory at max, the list shows only the distinct value from those first 2000 records. What work around can I do to get all the distinct values from the data.

    • @RezaDorrani
      @RezaDorrani  Před 4 měsíci

      Distinct is a non delegable query and Im not aware of any workaround for it.

  • @bzflowerbee
    @bzflowerbee Před rokem +1

    Another excellent video. I learned more from you than the course I paid online. OK, I have a simple question, if I wanted the search box just to search for the ID and nothing else. Do I get rid of the rest and just leave the txtSearch.Text in ID? Thanks.

    • @RezaDorrani
      @RezaDorrani  Před rokem

      Thanks.
      Yes, you could do that. But ID is not a delegable column. So it would only search based on the delegation limit.

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

    Awesome

  • @craig.galbraith
    @craig.galbraith Před rokem +1

    Amazing video! It really helped me solve an issue I ran into with delegation :) I would like to implement the Search function when the dataset has been filtered to within the delegable limits but I am working with the Data Table control rather than the Gallery. I can't set up the varDataCount variable because the CountRows function does not seem to work on a table control. Is there a way to perform CountRows when using a Data Table control? Thanks!

    • @RezaDorrani
      @RezaDorrani  Před rokem +1

      I have not tried with data table hence not sure. I will recommend checking on forums at powerusers.microsoft.com/