SharePoint Lookup Columns for Power Apps and Power Automate: Create, Filter, Patch, and more

  Рет қаралды 55,686

Shane Young

Shane Young

Күн бұрын

SharePoint Lookup Columns, Power Apps, and Power Automate: Create, Filter, Patch, Odata, and more
You cannot sort or sortbycolumns on a Lookup column
Additional columns don't work the same
Create lookup column in SharePoint
Create blank app
Add data source
Show it a gallery
Filter gallery
Saving to SharePoint
Choices
Patch
Flow
Write to the column
Query the column
Create item
Power Apps Consulting and training at www.PowerApps9...

Пікірлер: 72
@cmacdhon
@cmacdhon 3 жыл бұрын
The more I use PowerApps, the more I wish I had gone to veterinary school. Or joined the Navy. Or became a hockey player. Or worked on a cruise ship. Was a voiceover actor. A dentist. A pharmacist. Zoo keeper. A male model. Etc... Thanks for the awesome video, Shane. It's going to be a big help to me.
@leaflacher
@leaflacher 3 жыл бұрын
Hello Shane, You mention in this video that is impossible to sort a Lookup columns. I thought you and the community would be interested to hear that I found a wa.! I used a AddColumns function in my gallery. With the syntax: AddColumns(SharepointList,"NewColumnsName",LookUpColumn.Value) You should then display those columns in the gallery instead of the lookup ones and use it for any other kind of function you may want to use (including the Sorting or Searching ones). Thank you very much for all your videos. It is the most helpful and funny PowerApps content you can found. This video and your AddColumn video was really helpful to solve this problem. Than you again!
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks for sharing! Good job. :)
@finnpower92
@finnpower92 2 жыл бұрын
3 months into PowerApp, this video contains so much information that i couldn't process right now, will probably return in future again. Your videos are great.
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome. Keep learning and it will all click one day. 🐶
@maxclyde1901
@maxclyde1901 3 жыл бұрын
Hi Shane. Just want to say YOU ARE A GOD. I had been stuck on trying to get my lookup columns via automate to no avail for over an hour. Your video saved my life. Keep up the great work :) You made at least one person very happy today
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks Max! Making one person’s day is worth it to me. 😁
@juanbravo5597
@juanbravo5597 Жыл бұрын
Thank you so much Shane! I been watching your vides/blogs since years ago (installing SP)! You rocks man!
@ShanesCows
@ShanesCows Жыл бұрын
Thank you Juan. I appreciate the support. 🤩 SharePoint days? I think that makes you and me old. 🤣
@sandramcgechan5817
@sandramcgechan5817 3 жыл бұрын
Hey Shane, I need to see some videos on multiple choice lookup columns! Would love for you to do a video on this. I'm currently failing to build a flow that updates an item in a list and I think it relates to the fact that there are a few multi-choice lookups in the list (even though those aren't the columns I need to update, nor are they mandatory, but it seems to try to apply the item ID to those column ID fields and then gives a 'bad gateway' error message).
@JennyJenn831
@JennyJenn831 2 жыл бұрын
Preach it! They're slowly killing me! Good luck, I hope you find your solution!
@tauseefshk
@tauseefshk 2 жыл бұрын
Videos on multiple choice lookup columns! is certainly need of an hour for me. Can someone help with this??
@WilliamPalmer-h3z
@WilliamPalmer-h3z 8 ай бұрын
I would like to see that as well.
@kashifhaque2085
@kashifhaque2085 2 жыл бұрын
11:46 I ran into a similar issue today and was able to sort my result based on the 'Value'. You can also sort by 'Id' if you want. So, my formula looked like : Sort( filter(.....), Value, Ascending) and it worked!
@ShanesCows
@ShanesCows 2 жыл бұрын
Awesome 😎
@laboun822
@laboun822 3 жыл бұрын
Merci Shane, t'es vidéos sont super 👍
@ShanesCows
@ShanesCows 3 жыл бұрын
😊🐶
@FernandoJSantesteban
@FernandoJSantesteban 3 жыл бұрын
Thank you Shane for your great content!
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks
@itsybitszy
@itsybitszy 3 жыл бұрын
THX for the video. Flow think is really informative.
@ShanesCows
@ShanesCows 3 жыл бұрын
Happy to help 🤩
@Mx81
@Mx81 3 жыл бұрын
Hi Shane, thanks again for this nice overview. I also patch Lookup-columns to SharePoint. My experience: * If you patch something to the SharePoint List, you don't need the odata-information and you can leaf the Value as an empty string. It only need the Id. * Easiest way is of course using a ComboBox * Not so easy: Patch an blank value to Lookup columns to overwrite an existing value. Here you need to use Id = -1. Because if you don't have select something in your Combobox, the value want be overwritten in SharePoint. (The same for Person, Choice, and Date-Columns). So my PowerFX code is: Patch( 'Demo List', galDemoList.Selected, { Lookup: { Id: If(IsBlank(cmbLookup.Selected) || IsEmpty(cmbLookup.Selected), -1, cmbLookup.Selected.Id), Value: "" } } )
@ShanesCows
@ShanesCows 3 жыл бұрын
Interesting I need to try the -1 thing. Thanks. 😎
@fasnywebinars4296
@fasnywebinars4296 Ай бұрын
Hi Shane, I have a lookup field I needed to populate via a create item action in PA, and it wasn't showing. After watching your video, I see if I show the related ID column by editing the lookup column and checking ID, that field should show up in the create item action, however it is not. What am I missing?
@ibrahimhnehme
@ibrahimhnehme 2 жыл бұрын
Hi Shane, great video. Thanks for that. Are you planning to make a new video regarding power apps SharePoint lookups with multiple values? Thanks
@evertdejongh2710
@evertdejongh2710 2 жыл бұрын
Hi. The video about the way you did the 'lookup' functionality yourself. Which one is that?
@ShanesCows
@ShanesCows 2 жыл бұрын
I think it is this series. PowerApps Repeating Tables like InfoPath Part 1 - Enter the data kzbin.info/www/bejne/rpjdn55qjdGDedE
@richardshaw8326
@richardshaw8326 Жыл бұрын
Hi Shane, love your videos. Quick question, I noticed in the 3-minute mark, you mentioned that spaces in the lookup column are bad. What if the space pre-existed from SP 2013 and was migrated to SPO--how to I get around that, and what considerations do I have to keep in mind? :)
@ShanesCows
@ShanesCows Жыл бұрын
You have to use ' around the name. So here is my Lookup where First Name and Last name have spaces in the column names. LookUp(Employees, 'First Name' = "Chewy").'Last Name' It works fine, just harder to type and remember.
@louiscutmore
@louiscutmore 3 жыл бұрын
Hey square head 😂 Do you use the "Format Text" in the Fx dropdown - it's quite handy! Thanks for the video, VERY useful. Didn't know you had to use the ID in ODATA queries!!
@ShanesCows
@ShanesCows 3 жыл бұрын
Thanks 😀
@jhhatcher1885
@jhhatcher1885 2 жыл бұрын
Hi Shane - I just posted the following question on your "PowerApps SharePoint LookUp Column" video on KZbin: Thanks for showing me how to sort a converted text to dropdown button. But - can you set the sort order on a SharePoint lookup column in PowerApps? For example - I have a column in SharePoint that has: Column1 Name Column2 Order New Entry 1 In Progress 2 Reviewed 3 Approved 4 But the dropdown in Power Apps displays it in alphabetical order: Approved In Progress New Entry Reviewed Is there a way to have them displayed in column (process) order? If I understood your comments on this video correctly then there is no way to sort a SP lookup column. Correct?
@otanzion9584
@otanzion9584 3 жыл бұрын
Hi Shane, Thanks so much for these great videos. Please can you do a video on updating existing row in a list using user login as the unique identifier.
@abeekeeshvaraantt9096
@abeekeeshvaraantt9096 Жыл бұрын
Hey Shane, amazing video, I have a small doubt whether this is the same logic that would apply to connect Microsoft forms with SharePoint lists through Power Automate?
@alfredotorres5961
@alfredotorres5961 Жыл бұрын
Great! I was missing the ".Value" attribute
@ShanesCows
@ShanesCows Жыл бұрын
Awesome. Happy to help. Have a great day. 🐶
@dwinston91
@dwinston91 3 жыл бұрын
Great video. Do you have any videos that show how to Update a Lookup Column with multiple values in Power Automate Flow?
@NoahThompson-q4n
@NoahThompson-q4n 11 ай бұрын
Hi Shane, I have a flow that is grabbing responses from a MS Form and creating a list items in sharepoint. One of the responses is a plate number that needs to be added to a lookup column in the share point list. The Create Item field in the flow only asks for the ID number of the lookup item. I am having trouble getting the ID dynamically. PLEASE HELLLLLLLLPPPPPPPPP!
@JohnFulford-y3d
@JohnFulford-y3d 11 ай бұрын
this is driving me nuts...I have 2 lists (data sources) with a primary code common to both lists. Primary List consists of 5 columns (Primary code + 4) and Secondary List consists of 2 columns (Primary Code +1). How do I get that Secondary +1 to present in the same form Detail screen the Primary list info sits? Lookup appears to be the answer but I guess i am making more complicated then i need to. I'm stuck
@SheIsObiquitous
@SheIsObiquitous 3 жыл бұрын
Great video Shane, any workaround to filtering a list by lookup column?
@ShanesCows
@ShanesCows 3 жыл бұрын
I got nothing other than what I showed in this video. Which works well enough I think.
@imranozcanyay901
@imranozcanyay901 Жыл бұрын
Hi Shane, how did you make selectable Department Name and Department Name with link in Lookup column?
@rrq177738
@rrq177738 2 жыл бұрын
Hi Shane great content!! Your videos are very informative! I have a question about lookup columns. How can I set my default value of a combo box to the user who is logged in for the filter? In other words can I default combo box to filter my gallery by the user who logs in?
@marielcolonsantos3999
@marielcolonsantos3999 2 жыл бұрын
Hi, Great videos i have learned soo much from them. I started experimenting and came to a dead end where i am clueless in which I'm trying to figure out if its possible to create a calculated column on SharePoint where choices appear based on previous selection. ex. selects a phone manufacturer and proceeds to select phone model based of the selected manufacturer. Any help would be greatly appreciated.
@rekarp
@rekarp 3 жыл бұрын
Have you dealt with creating PowerApps for SharePoint lists that have more than 12 lookup columns? Obviously PowerApps can't pull the columns in, so there needs to be a Power Automate step to pull in the data to a collection and then another Flow to send it back to SP, but I haven't been able to quite make it work.
@ShanesCows
@ShanesCows 3 жыл бұрын
I haven’t had to deal with that one before. 😎
@rekarp
@rekarp 3 жыл бұрын
Well, if you need a challenge...
@rekarp
@rekarp 3 жыл бұрын
This is a major barrier for my organization to move away from InfoPath and embrace Power Apps.
@lymitutit3046
@lymitutit3046 3 жыл бұрын
Hello very interesting video .. but my porblem is similar to your power automate example with the lookup column but on on the other side of filtering. For example SP list ( A) has a lookup column which take the values form another list ( B) from the colimn Title ( string) . Now I'd like to filter the list B by the already chosen value at the lookup column at the list A. I'm struggling to find a reliabel solution,, but I can't . All sugestion on this subject would be very very helpful.
@KaiW76
@KaiW76 3 жыл бұрын
Hey Shane, thanks for your great videos but I have one question, is it possible to the the values of an secondary lookup field in an edit form if I update the primary lookup?
@viswanthnune2462
@viswanthnune2462 3 жыл бұрын
Hi Shane, Thanks for the content and guidance. Definitely amazing stuff. I do have a question regarding how do I make a lookup in power app where it looks for row match and column match in Share-point and updates the value depending on user input. I tried Patch function etc. but no luck. Could you help me?
@ShanesCows
@ShanesCows 3 жыл бұрын
Patch(SharePointList, LookUp(SharePointList, Columnname = “Chewy”), {Columnname2 = “Dog”})
@troylatterell
@troylatterell 3 жыл бұрын
Developing a prototype app for internal use tracking real estate and pad-sites. This comes in very handy for the 5-10 users. Does using SharePoint Lists and using PowerApps truly "SCALE" if this was an app we refactored into a public-facing app? Thousands of potential users? Can you give me some idea what challenges exist in licensing and performance? Thx
@ShanesCows
@ShanesCows 3 жыл бұрын
Troy Power Apps don't really work for public apps. You have to have a Power Apps account to access it.
@troylatterell
@troylatterell 3 жыл бұрын
@@ShanesCows Indeed we're using it internally and prototyping for now and that is the answer I anticipated. thanks for confirming. Though still curious, is Performance at all a consideration for 10 simultaneous users for the environment - not talking hyper-sophisticated or complex logic, pretty simple list viewing and editing.
@samuelyounis6314
@samuelyounis6314 2 жыл бұрын
Hey Shane, is there a way that people can enter custom values into a look up column. - like if there is a department that is not on the list because its confidential or something can you make it so they can write a custom value?
@ShanesCows
@ShanesCows 2 жыл бұрын
I think so but I haven’t tried. You would need to add an entry to the lookup target list.
@vikingord5030
@vikingord5030 2 жыл бұрын
I have a dropdown in a SP customized form that is dependant on choices from another dropdown. It works like it should but I want it to be a required field and that doesn't work. The required star is present, but the required error message never apears and you can save the form without data. Any ideas?
@matthewmaybery597
@matthewmaybery597 2 жыл бұрын
How do you filter by a lookup column if the lookup column "Allows multiple values"? When this box is checked I get Data type errors.
@myatix1
@myatix1 3 жыл бұрын
Hi Shane, Great video as always! Do you have a workaround for getting Managed Metadata (Terms) into powerapps? There seems to be a limit of pulling 25 terms into a PowerApp. Not very useful for a large term set. Keep up the great work! :)
@ShanesCows
@ShanesCows 3 жыл бұрын
I don’t Alan. I haven’t worked with them much.
@hurkaholic
@hurkaholic 3 жыл бұрын
Thanks for this informative video! Would it make sense to add more columns in the doggie data of the same list (lookup doggie department column) and then change the "main" column to different columns. So you would be able to use more lookup columns in powerapps. Or would that just complicate things?
@hurkaholic
@hurkaholic 3 жыл бұрын
So basically adding DepartmentManager as an extra column in doggie data list.
@ShanesCows
@ShanesCows 3 жыл бұрын
I don't think it would work that way but I haven't tried. 😀 You should give it a go and report back. 🤩
@shaunussy
@shaunussy 3 жыл бұрын
Hi Shane. Bit of a general question. I have a possible data type issue, creating a situation where a condition that should really evaluate true is instead yielding false. The value for Parent.Default is the text value 'on hold' - and yet when I compare "on hold" = Parent.Default, I get a false. To clarify... Parent.Default returns the text value 'on hold'. Parent.Default = "on hold" returns false. Why is this? The reason for this is I have a lookup with manually provided values ["on hold","raised", etc etc], and it's parent is correctly returning a value from a row, and I want to make sure my dropdown is selecting the appropriate value from the parent. But it's not :'(.... Thanks you super hero you.
@shaunussy
@shaunussy 3 жыл бұрын
Just a quick update to this. Whilst I don't know of a way to check, I think the edit form was created before a primary key was given to the table it's bound to. None of the fields contents updates in the database. As to whether or not this fact would have any impact at all in the way a dropdown's selected value is selected, but maybe.
@cartern4836
@cartern4836 2 жыл бұрын
This might be a long shot but worth the try... Overview: I have a skills matrix list that has a couple lookup columns for employees to associate several skills and certificates to themselves. The idea is that each employee has a single row in the Skill Matrix List but each row can be associated to several rows in other lists aka the lookup columns Skills and Certificates. How can I allow a person to add a new value for their lookup column on the 'Skills Matrix List'? I've created a form for collecting the data for a Skill and once they submit, I want that new skill to be associated to their row in the "skill matrix list". I'm trying the patch function below onsuccess but am receiving a data type error: The type of argument 'Skills' does not match the expected type 'Table'. Found type 'Record'. Patch('Skills Matrix', Defaults('Skills Matrix'), { Skills: { ID: Form1.LastSubmit.ID, Value: Form1.LastSubmit.Title, '@odatatype':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference" } }) Thanks in advance
@ShanesCows
@ShanesCows 2 жыл бұрын
Check out this video. PowerApps SharePoint Complex Columns - Patch person, choice, and lookup fields kzbin.info/www/bejne/naTOYmd6YqiMiKc You have a multi select lookup so you need to patch it as a table. 😎 Video shows how.
@cartern4836
@cartern4836 2 жыл бұрын
@@ShanesCows thanks for the reply! I found that an hour later or so! Thanks for the great content! Super informative and helpful!
@darkspeed62
@darkspeed62 3 жыл бұрын
Is there a way to do this without using fucking galleries?
PowerApps Delegation and the 500 item limit
34:00
Shane Young
Рет қаралды 113 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 121 МЛН
How to Add a Link to Brevo Email (Easily)
1:52
How To Web
Рет қаралды 4
How to use OData filter in Power Automate on SharePoint lookup columns
17:50
Time to Stop Using SharePoint Lookups in PowerApps
12:26
Andrew Hess
Рет қаралды 13 М.
🔃 Sync two SharePoint Lists: A Quick and Easy Guide
22:22
Enea Liçaj
Рет қаралды 37 М.
PowerApps Hide SharePoint List and remove it from Search
14:20
Shane Young
Рет қаралды 23 М.
Saving Power Apps Data with the Patch Function
17:59
Shane Young
Рет қаралды 59 М.
How to Patch a Lookup Column in PowerApps | 2024 Tutorial
11:31
Michael Alex
Рет қаралды 7 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 121 МЛН