
Announcements
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.'.
Hi @Crisml83 ,
According to the error message, it seems that the Market Unit field value of a record is Null.
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'], ', ', '", "'), '"'))
Best Regards,
Charlie Choi