I have written the filter query in several ways and still my flow fails due to apostrophe in single line text field. My Get items action is within an apply to each action.
PrimaryLocation/Street1 is a lookup to a single line field called Street1.
I am writing my query as follows however my flow fails :
replace(items('Apply_to_each')?['body/Street1/Value'],'''','''''')
I have also tried this with no luck.
replace(items('Apply_to_each')?['body/Street1'],'''','''''')

I am really hoping someone can help.
thank you!