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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Excel error ...
Power Apps
Answered

PowerApps Excel error : The requested operation is invalid., inner exception: Syntax error at position 7 in 'PR Name eq "xxxxx"

(1) ShareShare
ReportReport
Posted on by 29

Hi, I created a PowerApps application which is having excel as one of the data sources. 

When I am filtering columns in excel, I am getting below error in run time. 

Excel rows : 32000,

Excel columns 30.

Error : 

 

The requested operation is invalid.
Server Response: xxxxxxxxxxxxxxxxxxxxx: Syntax error at position 7 in 'xxxxxxxxxxxxxx''.
inner exception: Syntax error at position 7 in 'PR Name eq 'xxxxxxxxxxxxxxxxxxx''.

 

Any Idea about the error 

Would be great if somebody could help. 

Many thanks and best regards, 

Vijay Dirisala


clientRequestId: xxxxxxxxxxxxxxxxxxxxxx-af69-894818e52aea

Categories:
  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Its a bit hard to tell, but I suspect you either used a double quote or missed using a single quote in the filter at the appropriate spot.  Could you show use the filter being used?

  • Verified answer
    VijayDirisala Profile Picture
    29 on at

    Hey, @Pstork1  Thank you for your response. 

    I found a solution/workaround to remove spaces in the excel column header and refreshed the database. 

    Now the error is gone. 

    I am suspecting that if we add space in the column name, It is taking a single quote for filters. 

    Ex: if my column header is Project Name - PowerApp is taking 'Project Name' and when compared with text, failing to load, giving run time error. 

     

  • Pstork1 Profile Picture
    69,661 Most Valuable Professional on at

    Yes, you need to put single quotes around the column name if it contains a space.  Otherwise the flow will only take the first word as the column name and try to use the second word as the operator.

  • TorresAJ Profile Picture
    10 on at

    Yes, I agree. I just changed all my columns with spaces and now there is not errors in my code.

    Thank you Vijay!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard