Say for e.g. we have the below flow, which finds the lead having subject as “My Test’s Value”

On running it we get the below error


To make it work we can make use of replace function here.
replace(variables('Subject'),'''','''''')
‘ = to espace
‘ = special character
replace(variables(‘Subject’),‘‘‘‘,‘‘‘‘‘‘)
Please refer to the helpful post- https://techcommunity.microsoft.com/t5/power-apps-power-automate/how-to-handle-single-quotes-in-the-filter-property-with-get/m-p/2617747
This time it works successfully.

ChatGPT – quick to correct and give the right answer.

Hope it helps..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

2 thoughts on “How to – Handle single quote/apostrophe in Filter Rows in Power Automate (Dataverse)”