web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Select step failed: co...
Power Automate
Unanswered

Select step failed: concat('"', replace(item()?......

(0) ShareShare
ReportReport
Posted on by 1

Hi,

 

I have an issue with the following step ("Select data Operation") it give me an error but nut sure where is the mistake:

 

Message:

The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '@concat('"', replace(item()?['Market Unit'], ', ', '", "'), '"')' failed: 'The template language function 'replace' expects its first parameter 'string' to be a string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#replace for usage details.'.

 

Crisml83_2-1662477840498.png

 

 

Crisml83_1-1662477764816.png

 

concat('"', replace(item()?['Market Unit'], ', ', '", "'), '"')

 

Crisml83_0-1662477715059.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    on at

    Hi @Crisml83 ,

     

    According to the error message, it seems that the Market Unit field value of a record is Null.

    vyujincuimsft_0-1662534839636.png

    Maybe you could try to check your data source or try the following expressions.

    if(empty(item()?['Market Unit']),'N/A',concat('"', replace(item()?['Market Unit'], ', ', '", "'), '"'))

    vyujincuimsft_1-1662534987071.png

     

     

    Best Regards,
    Charlie Choi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard