cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Faye125
Frequent Visitor

Creating Master from Child and Parent SP list

Hi,

 

I am not sure if this is the right place but I am trying to create a Master list using Child and Parent SP Lists and Lookup Col.

 

I am patching Parent ID to child SP list and using the Parent ID to lookup parent Info for each child line item. However the lookup col is a manual process (You have to select the Parent ID from drop down). I am trying to automate that by setting lookup default value to: "Thisitem.Parent_ID". However I am getting this error for update value:  "The property on this control expects Record values. The rule produces Text Values which are incompatible". I am using TextInput Field.

 

Any idea how I am fix this error or a better way to merge Child and Parent into master?

1 ACCEPTED SOLUTION

Accepted Solutions

The Default property needs a record value, which is similar to an Item in a SP list.

 

you can use a Lookup function for that, something like:

Lookup(DataSource, Parent_ID = ThisItem.Parent_ID)

 

What you are using now:

Value(ThisItem.Parent_ID)

returns a Number. Please see the Value documents if you have any questions on that

View solution in original post

3 REPLIES 3
DylanSimons
Resolver III
Resolver III

Can you instead pass ThisItem to the function? That would be a Record value.

 

If that doesn't work, please include your function and then it is easier to help.

I am not sure what you mean by function. I tried converting text field to Value as follows but that didn't work:

 

Default as: Value(ThisItem.Parent_ID)

Update as: TextInput2.Value and Value(TextInput2.Text)

The Default property needs a record value, which is similar to an Item in a SP list.

 

you can use a Lookup function for that, something like:

Lookup(DataSource, Parent_ID = ThisItem.Parent_ID)

 

What you are using now:

Value(ThisItem.Parent_ID)

returns a Number. Please see the Value documents if you have any questions on that

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,987)