Hi please can I ask a little naming issue:
I use sharepoint online custom list(s) as data source(s).
I have for example list Customers with CustomerName column.
Then I have list Buys with CustomerName column.
I want to make collection for example ClearCollect(CustomerCache;Customers).
(its nice I think it gets all (more then 500 rows) .. it get all server data)
Then i wanted to make left join to Buys for example with AddColumns function.
Here is the problem:
____________________________
ClearCollect(CustomerCache;
AddColumns(Customers;
"AddedColumn1";LookUp(Buys;CustomerName=CustomerName)
)
)
___________________________
From https://powerapps.microsoft.com/en-us/tutorials/operators/#disambiguation-operator
I tried to change to CustomerName=Customers[@CustomerName])
But from I tried, it does not use "Parent" Column, but instead it use completly new "intance" of table Customers and found there in column (this issue causes blue dot (no server delegation)).
By documentation both AddColumns/ForAll function does NOT allow delegation
(but I tried to make Table1 with Column1 and Table2 with Column2 .. and working nicely with Column2=Column1 ..so from my experience yes it is possible to call "server delegation" within "foreach" function which is amazing background functionality making a client offline with advanced query and join abilities)
Is it possible to use like "Parent.Column" or "Customers.CustomerName" or Customers.CustomerName or something like that .... to reference on parent column ?
(AddColumns use Customers ... and within is LookUp to Buys ..)
I am thinking about use Rename function and then call AddColumns but I think this will make AddColumns/ForAll calls 2 times (I wanted to do so in 1 iteration)
(usage of this whole conception is very comfortly working application : Customers buy items. Using Timer all data from server are downloaded to make collection and those use SaveData ... so Customers are able to use all app Offline and when they get Online just new data are cached ..... and those ForAll/AddColumns functionality in final will be able for every Customer lookup their Latest Buy ... from programming perspective I just want to make 1 call server per each Customer .. but I dont know how to reference "columns" yet)