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

Lookup formula showing error "The property on this control expects Text values. The rule produces record values.."

I have a text field in the gallery for which I want to Lookup for ThisItem in a Sharepoint data source (which I added to the app as a data source) and return one of the fields. When I write the lookup formula I get the result correctly if the column in the Sharepoint list is just text. but then I change the formula to return a column's value which is a drop-down list, I get the error "The property on this control expects Text values. The rule produces record values..".

It looks like looking up to return a value from a column which is a drop-down list is not possible (or I don't know how to do it)

 

My formula for lookup is :
1. When it works: 

LookUp('CVS-WLA',ThisItem.SubWorkloadNumber=Title, MON*)

* MON is a text field in my Sharpeoint source

 

2. When it give the error:

LookUp('CVS-WLA',ThisItem.SubWorkloadNumber=Title, IsEnumerated*)

* IsEnumerated is a drop-down list field in my Sharepoint Data

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Shoaib_Shaikh ,

 

Assuming the IsEnumerated column is a Choices type, please try:

LookUp('CVS-WLA',ThisItem.SubWorkloadNumber=Title, IsEnumerated.Value)

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
eka24
Community Champion
Community Champion

Change the code to;

LookUp('CVS-WLA',ThisItem.SubWorkloadNumber=Title, IsEnumerated.Value)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

v-jefferni
Community Support
Community Support

Hi @Shoaib_Shaikh ,

 

Assuming the IsEnumerated column is a Choices type, please try:

LookUp('CVS-WLA',ThisItem.SubWorkloadNumber=Title, IsEnumerated.Value)

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,216)