I will appreciate any help on this as I have really tried all combinations. I have 2 lists, Leave Application and TestEmployees
I have a Card called Plant with DataCardValue18
DefaultSelectItems = Filter(TestEmployees, 'Employee Number'= DataCardValue2.Text).'Personnel subarea'
Default = ""
Items = ""
Update = DataCardValue18.Selected
The value in Plant is populated when an Employee number (DataCardValue2) is filled in but the value is not saved back to my Sharepoint List (Leave Application). My Sharepoint where I want the value saved is a lookup column.
Looking forward to any response.
Solved! Go to Solution.
But do they need to see it in a one value Combobox? Or can you just add a Label that would display the Value? - For them to see it in a Label should be fine
No they are different
So then I need to understand more about your lists - as I see it you have 3 lists - LeaveApplication (I assume this is the primary list that we are trying to add records to), TestEmployees (not really sure how this fits in), and Plants (which has the value we want to put into the primary list column. - The List Plants will fall away because all the info is in the TestEmployees List now (Employee Number, Name, Personnel subarea....etc.
The question will be - what in the record being added to the LeaveApplication would indicate what Plant to look up? - The info must come from the Personeel subarea column in TestEmployees.
Okay...label is good. Once we get this rolling, you can just hide the DataCard and add a label in the form.
So if Plants is going to go away, then you need to change the Lookup definition in your column to reference the new list (I'd just add a new one at this time - and, unless somehow needed, I would abandon the Lookup column in preference for a numeric column that will just hold the ID of the foreign list - MUCH easier to work with).
So once we have that...
If you changed the column to numeric, then we just need to store the ID
If you have another Lookup column, then we need to do the same things we tried before, but in relation to the TestEmployee list.
I have decided to abandon the lookup column and replace it wit a straight text column. Thanks for your help.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.