Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Updating My collection Lookup field with a value from another collection (or table) - Error: Expected record but of a different schema


So I have function Which should update my Collection1.Column1(lookup to Table1 record), I have a GUID of chosen record stored in Collection2.Column2

So I've tried:


1 = 1,
{ Column1: Last(Collection2.Column2)}

Column1 is a lookup to record, 

Column2 is a guid of the record I want to create lookup

I receive an error "Expected record, but of a different schema"



Also function

{Column1: Last(Table1)}

which would work because In Last table1 there is a stored record I want to create lookup to

But this "Last" function expected 2-3 arguments and received 1 - which is contradictory to my knowledge, because Last should only have a source


Also tried to store guid in gallery and show gallery Item, but types don't match "expected record, received GUID" which is logical


Any Ideas, thoughts? 




Any solutions for case A or Case B?

I just want to update my collection Lookup record based on Last Record created from another table.



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,587)