Hi All,
I have a large data set from an app we created a couple of years back and now in order to improve the way i can access the data i'm needing to insert another column to the list and i'm hoping that i can create a formula so that i can fill this field for all current records with the click of a buttom.
Unfortunately since making this app i havent had hardly any time using powerapps and this one is beyond me to work out.
in order to make this easier to explain to you guys i have created a couple of lists as examples and i will explain what i am wanting to do.
i have a list called "Test_List1" - This is the list where i am wanting to update records with the "LocationCode"
I am wanting to update each record dependant on a lookup to another list
I have a list called "LocationsList" - This is where i want the Lookup function to look for each record and return the "Code" and then update the "Test_List1" Location Code with the Code returned from the lookup.
I have inserted pictures of the lists so you can see the format.
I have tried for hours all different amalgamations of a Forall / Lookup / Patch formula however i just cant get it to work, pone example below. (which doesn't work 😞 )
ForAll(Test_List1,Patch(Test_List1,LocationCode,LookUp(LocationsList,SiteLocation=Location,Code)),LocationCode))
Any thoughts, i'm probably miles off track with what is above so any help would be apprecaited.
If my dataset was smaller i would just do it all manually but really dont want to have to do that!
thanks to anyone in advance who takes a look.