cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate II
Advocate II

SharePoint lookup and choice values causing 'Select' or 'Create HTML table' actions to fail

 

I'm having a problem with a SharePoint lookup field. The 'Value' property of the field is available in the Dynamic Content options

FlowBuilder.jpg

 

But it's causing this error when the flow runs: 

The execution of template action 'Select' failed: The template language expression 'item()?['MarketOrGlobalPractice']['Value']' cannot be evaluated because property 'Value' cannot be selected.

 

FlowError.jpg

 

I get the same error for Choice fields as well. Could anyone suggest a fix or workaround for this?

 

Many thanks,

 

Geraint

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: SharePoint lookup and choice values causing 'Select' or 'Create HTML table' actions to fail

Hi @geraint,

 

Could you please share a bit more about your SharePoint list?

Do you change the Lookup column in your SharePoint list after you created your flow?

Further, do you have enabled "Allow multiple values" option for the Lookup column in your SharePoint list?

 

The error message told that the Value property could not be selected with the Lookup column of your SharePoint list.

 

I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:4.JPG

Note: The Market column is a Lookup column in my SharePoint list, which does not enable the "Allow multiple values" option.

 

The flow works successfully as below:5.JPG

 

 

Please check if you have enabled the "Allow multiple values" option for the Lookup column (same with the Choice column) in your SharePoint list, if yes, please disable the "Allow multiple values" option. 

 

I have made a test on my side, if I change the Lookup column in my SharePoint list and enable the "Allow multiple values" option for this column, the error would show up as you mentioned:6.JPG

 

 

 

 

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.
Highlighted
Advocate II
Advocate II

Re: SharePoint lookup and choice values causing 'Select' or 'Create HTML table' actions to fail

Hi Kris,

 

Many thanks for getting back to me. 

 

The field does not allow multiple values. But, I've done some further tests and the issue manifests when the lookup field is left blank.

 

I don't want to make it a required field though, so is there an elegant way of handling this in the 'Flow'?

 

Many thanks,

 

Geraint

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,870)