Тёмный

Power Apps Search and Filter Function with SharePoint + Workarounds 

Shane Young
Подписаться 163 тыс.
Просмотров 51 тыс.
50% 1

Learn how to use the Power Apps Search function. We first focus on SharePoint because it is the most popular and the most broken search experience. Then we focus on three ways to get Search like ability without search. We use nested queries, Startswith in Filter, and finally how Search might be the thing that drives you to switch data sources to SQL and Dataverse.
Power Apps Consulting and training at www.PowerApps911.com

Наука

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 83   
@jonathancopin8093
@jonathancopin8093 2 года назад
The most important comment : "Power apps is always right when it says it's wrong, but it's not always right when it says it's right". I never thought of taking the Data row limit to 1 to test delegation issues it's a really clever solution 👍👍 Thanks Shane
@ShanesCows
@ShanesCows 2 года назад
Very hand tip. Glad it helps.
@aravindenterprises2379
@aravindenterprises2379 Год назад
Was breaking my head with the formula, then found out the field from sharepoint as mentioned, ur a life saver thank you very much
@ShanesCows
@ShanesCows Год назад
Awesome.
@julianschmittgall3755
@julianschmittgall3755 2 года назад
Thanks so much for the great video! I have a list with a column that allows multiple values with checkboxes (characteristics like SEO, SEA, FBAds, ...). I tried to use your search logic with adding a column for those values but can't get it to work. I suppose it only works for columns with one value? Is there any way I can filter or search for one or more matching characteristics that are in this column (eg. SEO or FBAds)? Thanks so much again! - Julian
@CarlosSolisNow
@CarlosSolisNow 2 года назад
Great review Shane. My students will benefit from this mightily
@eroticrobot1234
@eroticrobot1234 Год назад
Thanks for this Shane - I am trying to implement the Search-Filter function displayed at around 16:00, however I am getting an error "this rule creates a circular reference between properties which is not allowed." Any insight on how to address it? I am trying to return only rows that match a specific department, and then using the text input search to search the combined first name/last name: Search(Filter(Active_suspended, 'OrgName' = "Department Name"), searchbox.Text, "nameField")
@anapmds7247
@anapmds7247 Год назад
Shaned, I am from Brasil and your video help me a lot ! Obrigada! Thanks!
@ShanesCows
@ShanesCows Год назад
Happy to help. Have a great day. 🐶
@anapmds7247
@anapmds7247 Год назад
@@ShanesCows Do you have any video about "No item to display' when put the search?
@oluwatobiyusuf
@oluwatobiyusuf 2 года назад
Thanks for this video. I learnt more on the search function
@kathrynspader9362
@kathrynspader9362 Год назад
Have you ever used Text color as a variable to do searching or sorting?
@ReiBalboa
@ReiBalboa Год назад
hi shane, my gallery is files and folder and i want to put an all the folders in the sub folder using this command Filter(DOCS,'Folder path'="DOCS/"). but at the same time i could search the files Filter(Documents, StartsWith('File name with extension', searchbox.Text)), can i combine this codes into 1?
@glaringmind-rq8xu
@glaringmind-rq8xu Год назад
I am trying to achieve similar things except my selected employee from the lookup will return a pinned location on a site map( showing office location ,floorplan, cubicle#. The requirement is after searching the employee in the drop down will show the employee details ( title, location, phone number etc) also it would show on the map as a pinned location pointing out the employee’s office location and cubicle#. Is there anything like this that you have worked on. If not would you be interested to show how this can be done. I am continuously learning from your videos and trainings. It would be awesome. Thanks in advance!
@erinann7833
@erinann7833 Год назад
Thank you for all you do Shane...I do have a question. Can you search on a gallery with 2 different tables? I have 2 sql tables that join by primary and foriegn keys. I have a gallery with 2 fields from table 1 and the 3rd value is from table 2 (used a LookUp to display it. But I want to be able to search by the fields from table 1 and 2. Is that possible?
@vickiturner1658
@vickiturner1658 5 месяцев назад
I think you would be best to build a view in your SQL database first, and then point to that as the datasource?
@honganhuynh6003
@honganhuynh6003 Год назад
Hey there Shane, this was so helpful. But how would we filter by drop down + a date Picker? For example, I have a list for our transportation drivers who drive customers around. First drop down filters by Driver (which was explained by this video) but I would also like to let the user select the date to match up with the date field of the trip
@ShanesCows
@ShanesCows Год назад
Filter(DataSource, Driver = dropdown.selected.driver And DateField = DatePicker1.SelectedDate)
@honganhuynh6003
@honganhuynh6003 Год назад
@@ShanesCows thank you!
@matthewv4170
@matthewv4170 2 года назад
You could put a department drop-down on the filter using a distinct or group by department type for items in the dropdown
@ShanesCows
@ShanesCows 2 года назад
I like it. :)
@matthewv4170
@matthewv4170 2 года назад
@@ShanesCows it appears GroupBy is non delegable. Grrrrr.......why does PowerApps not warn you....
@williamdyette1262
@williamdyette1262 Год назад
Thanks so much Shane. With regard to delegation, PowerApps looks at the first 500 (default) items in a SharePoint list. Is there a way to start at the last entry and go backwards to the 500 previous entries? For example, your SP list has 10,000 rows. Can you filter to look at rows 10,000 to 9,500?
@williamdyette1262
@williamdyette1262 Год назад
I just figured it out. My original formula for my gallery: Sort(Filter(DocumentTracker,StartsWith(Creator,TextInput3.Text)),ID,varSort). To change it to look at the last 500, I added a second sort command: Sort(Filter(Sort(DocumentTracker,ID,Descending),StartsWith(Creator,TextInput3.Text)),ID,varSort). For some reason, I assumed you could only have one sort command at a time in a formula.
@Nola_Travel
@Nola_Travel 2 года назад
10:00 finally someone solved this for me. Thank you!!!
@ShanesCows
@ShanesCows 2 года назад
Happy to help. :)
@finnpower92
@finnpower92 2 года назад
Is Power app fast with Dataverse as datasource, when using search? I would imagine that having a gallery of 25000 rows would load very slowly to end-user. I am not willing to change my first baby app's datasource anymore, but willing to consider it for the second child :D
@kishorjabegu4668
@kishorjabegu4668 2 года назад
Hi Shane, been looking at your delegation videos and its very useful for starter like me. One thing is bugging me though suppose I have a sharepoint list with a column called Name and I have 6000 records. Its data starts with (dummy name 1, dummy name 2, .... to dummy name 6000) and now if I wanna search the records with search text (name 6000) obviously that would not work as search is not delegable (even for max data row limit -2000). Also if I used Filter/StartsWith it would not work as Search is from middle part of text not start. How to tackle these sort of condition when I want to search from any part of text saved in sharepoint list column. Any ideas how you deal in those condition?
@finnpower92
@finnpower92 2 года назад
I would consider creating a dropdown selection to choose 1000+, 2000+... Etc. Or really think that do i need to be able to search 6000 records at same time, could you use some 'active' column to limit the search to only one active names? If not possible, then i guess Dataverse is your solution.
@geralddahl9159
@geralddahl9159 2 года назад
22:06 re CountRows(DataverseSource) - Power Automate tells me I have 8046 records in Accounts, but when I try in Power Apps CountRows(Accounts) = 0 and when I adjust to CountRows(Filter(Accounts,'Accounts (Views)'.'Active Accounts')) it only returns 2000 and denotes delegation error. Any thoughts?
@vasylsalyk165
@vasylsalyk165 Год назад
I'm using another workaround - 2 galleries. Gallery1 - pure data source w/o filters or search. Gallery2 uses Gallery1.AllItems as data source. And here I can apply all the necessary filtering. Furthermore, if pagination is required, then I use Gallery3 (data source Gallery2) in combination with FirstN and LastN.
@SreeRanganath9
@SreeRanganath9 Год назад
Thank You from India
@ShanesCows
@ShanesCows Год назад
Happy to help
@rochellenicholson6372
@rochellenicholson6372 2 года назад
Thanks for the video. Is there a way to only show 5 items of a gallery, regardless of how many items are returned when filtered or sorted?
@ShanesCows
@ShanesCows 2 года назад
There is a function called FirstN that would do that. FirstN(YourTable, 5) should do the trick.
@golfnutt8
@golfnutt8 Год назад
Hi Shane, thnks for everything you do to help us navigate the Power Apps complexity. I am not using a gallery for and not using SP Integration. I can connect to my list my my form properies does not have "Items" it has "Item". Right the edit form shows "Item" and uses First('Office Supply Products') to show the data. Your gallery shows "Items" so I must be missing something. Can you provide any direction? Thanks again!
@ShanesCows
@ShanesCows Год назад
Items is the property for a Gallery. Item is the property for a form. Are you maybe mixing the two up?
@golfnutt8
@golfnutt8 Год назад
@@ShanesCows No, I created a new screen and form. The data coms from a SharePoint list. I am trying to filter on the form to find records in that list. The new form display mode is in Edit mode. When I look at the properties at the top left I only see “Item” not “Items”, which is why I am not able to utilize your search function. I may be going about this wrong. ☹️
@rajad7261
@rajad7261 Год назад
I have one doubt can you please it ,it's urgent for me ,I watched so many videos&visited numbers sites .they aren't help to me . I have 8 number sql servers and different names databases in all servers data is different but columns names are same. I made crud operations for all servers. It's working. Because I'm developer that's why it's running. Now the question is if when user has been using this app how to the change servers dynamically, we don't need add filter. 😤 how it's possible can you please explain
@thelegand1
@thelegand1 Год назад
I found this video super helpful but it didn't help me fix my problem, I have a Table with 6 columns and a considerable amount of rows, I have three drop downs, first one to filter category, second to filter sub category from that category, then 3rd to filter the item description from the sub category, the other 3 remaining rows are price, lead time and item code. my problem is with distinct, it removes duplicates which is great, but some of the entries have duplicated item descriptions, blocking out some of my items, the only way I can figure out having them all show is by doing this distinct(all the junk inbetween),description & price) but then the problem with this is that it breaks my price and code box which references another drop down but just to pick up those figures to add into the gallery, sorry if this makes zero sense but it's 4am and i've been messing with this for 6 hours lol. help!
@wennysoh3624
@wennysoh3624 2 года назад
Hi Shane, thanks for the guidance. If the data more than 2000, can we still use tgis seach /filter function?
@ShanesCows
@ShanesCows 2 года назад
As long as Filter returns less than the delegation limit.
@wennysoh3624
@wennysoh3624 2 года назад
@@ShanesCows thank you very much 😊
@edbeardsley5558
@edbeardsley5558 Год назад
Great Video, thanks for the pointers. I have used your process successfully before, but form some reason I am not getting just the fields to populate. It is giving me the "fieldname"_datacard. Any suggestions?
@ShanesCows
@ShanesCows Год назад
That is weird Ed. Some days it get grumpy but showing you the data cards is a new one to me.
@eurekasheng542
@eurekasheng542 2 года назад
Hi Shane, first of all, thanks for your sharing~ recently I'm working on a project using UiPath to update sharepoint list, I met this problems that I'm not sure how to config the OLDB connection of sharepoint List, is there any way to update sharepoint list data from a local file or any work around?(I tired through Access, but I worry about the data sync problem)
@finnpower92
@finnpower92 2 года назад
Would Power Automate work for your solution? It has very easy and reliable action to update sharepoint list, and also easily perform another action once a new sharepoint item is created.
@eurekasheng542
@eurekasheng542 2 года назад
@@finnpower92 right…..automate may actually works, thanks!
@zurahk85
@zurahk85 5 месяцев назад
Is there a way to search a choice list using excel (dataverse)? I was able to figure out your sharepoint version but thats it. (Also how can I prevent duplicate entries for dataverse? The duplicate rules in the settings dont seem to work.. ive added for example project number 24001 like 80 times without it stopping me. Thank you
@josuecontreras7931
@josuecontreras7931 Год назад
I didn't know the importance of delegations until you show me the dataverse. From now on I will recommend to not work with SharePoint if you have a lot of data.
@ShanesCows
@ShanesCows Год назад
Glad to help 😎
@jasongregory9872
@jasongregory9872 5 месяцев назад
Here is the question I have... How did you make the contact list. I have tried several ways to create a contact list to connect to the app? All I have now is a contact "List" that is sorted by my building location and people assigned to work in that building. I cannot seem to get that to import to the app correctly.
@tonykuiper9127
@tonykuiper9127 2 года назад
Hi Shane... Our IT support chap said yesterday (after setting some stuff up in our workshop) that sharepoint was "moving over to onedrive" in the sense that suggested that sharepoint was somehow changing and that we would need to "migrate" to onedrive? Is this a thing? I mean they have some similar functions like storing files etc, but onedrive cannot really be called a "mini database" like sharepoint could. (sorry for the random question)
@matthewv4170
@matthewv4170 2 года назад
OneDrive is built on SharePoint. I think your IT guy needs a bit of training. Also SharePoint isn't a mini database, you can use it as a database buts its essentially just a list
@tonykuiper9127
@tonykuiper9127 2 года назад
@@matthewv4170 cheers.. I guess I think about SharePoint in that way because of how I use it. Multiple lists being combined to house data and create output. I'm an old Access tragic. We don't have dataverse here. I think the way the company uses OneDrive is more a symptom of not being interested in the ability of the O365 platform. Just looking for cheap rather than exploiting the capabilities. Well that's my 2 cents anyway. Personally I love the whole environment.
@ShanesCows
@ShanesCows 2 года назад
Matthew is correct. Not sure what your IT is thinking 🥴
@andyhernandez5108
@andyhernandez5108 2 года назад
Please let me know if you can create Folder in Windows desktop using PowerApps or Power Automate? I’m also interested in creating Folder Shortcuts. Can this be done at all?
@ShanesCows
@ShanesCows 2 года назад
I don't think so but I have never tried so not positive.
@frankdeak8563
@frankdeak8563 9 месяцев назад
Hi Shane, I am relatively new to power apps. Is it possible to maintain an up to date copy of a SharePoint list in data verse to get the best of both worlds?
@ShanesCows
@ShanesCows 9 месяцев назад
Yes, look for virtual tables.
@ShanesCows
@ShanesCows 9 месяцев назад
This videos talks a small about it New Dataverse Table Options + Virtual Tables ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JrnliAr-oac.html
@marcmcrystal3427
@marcmcrystal3427 Год назад
How do I do this for a Sharepoint lookup column?
@Ian_Enterprise
@Ian_Enterprise Год назад
Hello, Nice tutorial But i have an question If i search on multiple columns i don't get what i search for For example i search on a lastname i get 1 or more result but when i continue writing also the firstname i don't get any results anymore What do i wrong? SortByColumns(Search(colAllData; Trim(TextInput1_8.Text) ;"Title";"field_1";"LASTNAME";"FIRSTNAME";"field_7";"DateText";"MonthValue";"field_12");"Title";If(SortOrder.Ascending;SortOrder.Descending)) Thank you
@Kn1ghtMayor
@Kn1ghtMayor 2 года назад
Is there a list of functions compiled somewhere? If I was creating a search bar without this video… how would I learn the functions?
@ShanesCows
@ShanesCows 2 года назад
docs.microsoft.com/en-us/power-apps/maker/canvas-apps/formula-reference My favorite piece of documentation.
@Kn1ghtMayor
@Kn1ghtMayor 2 года назад
@@ShanesCows thank you so much Shane!!
@franknielsen3219
@franknielsen3219 2 года назад
Nice video. I realy need my company to buy into use dataverse
@ShanesCows
@ShanesCows 2 года назад
Yeah, it is pretty powerful.
@toddfraser7526
@toddfraser7526 Год назад
So frustrating. I'm being asked to built app for an existing SharePoint list that's too large for the sharepoint interface (larger than 20,000 row view limit threshold) and it's a nightmare to work with. I want to go back to my SQL word, ha! I can't for the life of me figure out a way to pass anything delegable to Sharepoint to filter things down enough for search to work.
@ShanesCows
@ShanesCows Год назад
Todd did you watch this video to start at the basics? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-UaBmVUQx_Fk.html
@toddfraser7526
@toddfraser7526 Год назад
@@ShanesCows I have and it was helpful, a ton of your videos have been helpful! I'll skim again, I think the issue is Sharepoint is limited. I've dealt with delegation limits in a couple other apps but it's looking like I can't quite fit this need into PowerApps. It's a 50K row list of invoices that grows at 500 invoices a day. I thought I could filter to just items assigned to one user, and then let them search in that, but filtering to their items filters the first 500 (or 2000) of their items from all time in the list, I can't limit by status AND user, at least I haven't made it work. User is a sub table, person column. Status is a record. I can't get more than the delegation limit to ever collect.
@ShanesCows
@ShanesCows Год назад
@@toddfraser7526 Collect is not delegable and will never pull back more than the delegation limit. 😖
@toddfraser7526
@toddfraser7526 Год назад
@@ShanesCows good point. My goal was to apply enough filters that I’d be well under the limit, collecting was a means to counting, trying to make sure I was under the limit. I’ll tinker a few more minutes. Thanks for the replies!
@toddfraser7526
@toddfraser7526 Год назад
My issue is I can't seem to find a way to filter by user without using AddColumns and populating a text colum. with 'Assigned To'.DisplayName. I can't get the number of items under 2000 without filtering by user.
@akhil8177
@akhil8177 2 года назад
How to do the search with date?
@ShanesCows
@ShanesCows 2 года назад
Filter for date not search. 😎
@ericzheng4838
@ericzheng4838 2 года назад
Delegation - what a pain for Powerapps beginners, especially for those non-programmer beginners!
@matthewv4170
@matthewv4170 2 года назад
Not too sure why but this deleted my comment regarding search and group by
@ShanesCows
@ShanesCows 2 года назад
Boo. Sorry about that. I promise I didn't delete any of it.
@matthewv4170
@matthewv4170 2 года назад
@@ShanesCows it's okay. May be worth a video though Reza has one. It's a pretty cool workaround
@andytuke8986
@andytuke8986 2 года назад
Dude, you seriously need to get some sun cream on your face when you're playing golf
Далее
Will low code be the death of professional developers?
31:17
World Record Tunnel Glide 🪂
00:19
Просмотров 20 млн
PowerApps Delegation and the 500 item limit
34:00
Просмотров 112 тыс.
Wait! Solve Delegation Easily! In Power Apps Search
29:57
What is Power Apps?
9:53
Просмотров 152 тыс.
Learn to use the PowerApps Filter function
21:03
Просмотров 302 тыс.
PowerApps Search Function
17:33
Просмотров 228 тыс.
Time to Stop Using SharePoint Lookups in PowerApps
12:26
PowerApps AddColumns ShowColumns
25:13
Просмотров 61 тыс.
Самый быстрый пылесос!
0:30
Просмотров 22 тыс.
Здесь упор в процессор
18:02
Просмотров 372 тыс.
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Просмотров 1,8 млн