cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
magbest
New Member

Error: The property expects Record Values, but this rule produces incompatible Text values

Hello Great people,

 

I am getting this error and I have no idea what is going on.

 

This is the line I am trying to modify.

 

ThisItem.Category_x002e_.Value

 

I posted screenshoots too.

 

This is the only part of the app that contains an error. I already tried to use <> and also '. But then i get other kind of error.

 

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @magbest,

Which column does the CreateTicketFromCategory Data card connect to within your Edit form?

Does the CreateTicketFromCategory Data card connect to a Choice type column?

The error message seems to tell that the Default proeprty of the CreateTicketFromCategory Data card is required to provide a record value, but the ThisItem.Category_x002e_.Value formula returns a Text string value.

I assume that the CreateTicketFromCategory Data card connected to a Choice type column in your data source (a SP list), please modify the formula within the Default proeprty of the CreateTicketFromCategory Data card to following:

{
'@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
 Value: ThisItem.Category_x002e_.Value
}

Or

{
 Value: ThisItem.Category_x002e_.Value
}

then check if the issue is solved.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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