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 / Flow Get items Filter ...
Power Automate
Answered

Flow Get items Filter Query Error

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
I am getting a error on my 'Flow' Get items filter query.

The SP List have a column titled Course_Name.

The Power Apps trigger shows text_2 with the title of 'Course_Name'.

I have written the following fitler query -


The error message is -
The expression "'Course_Name' eq 'Driver's Permit Practice Test'" is not valid. Creating query failed.

What am I missing?






Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,695 Super User 2025 Season 2 on at
    The query text contains a single quote: Driver's Permit Practice Test
     
    and it gets interpreted as Course_Name eq 'Driver'. The remainder of the text is causing the error.
     
    Single quotes need to be escaped by doubling them:
    Course_Name eq 'Driver''s Permit Practice Test'
    replace(variables('queryText'),'''', '''''')
     
     
    Ellis Karim
    Ellis Karim
    Blog | LinkedIn | Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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 507 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 267 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard