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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filterquery Excel won'...
Power Automate
Unanswered

Filterquery Excel won't work

(0) ShareShare
ReportReport
Posted on by 12

Hello

 

I have a problem with the Filterquery Excel. When i fill in the name of the table "lopend contract" is equal to lopend. It says "Syntax error at position 20 in 'Lopend contract' eq'Lopend''.
inner exception: Syntax error at position 20 in 'Lopend contract' eq'Lopend''.
clientRequestId: 7a3faffc-0032-4fb4-9e27-f9c7b7425288"

 

Can someone help me please?

Categories:
I have the same question (0)
  • BartVdb1988 Profile Picture
    12 on at
    Re: Filterquery Excel won't work

    BartVdb1988_0-1697626183392.png

    This time with more view.

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Re: Filterquery Excel won't work

    Hi @BartVdb1988 

     

    Filter query wouldn't work when there is a space in column name. To fix it, either remove space in column name or use filter array action to perform filter operation.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • BartVdb1988 Profile Picture
    12 on at
    Re: Filterquery Excel won't work

    Hello ManishSolanki,

     

    The filter is from a Query in Excel. Do you think when i rename the column to Lopendcontract it will works?

  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at
    Re: Filterquery Excel won't work

    Yes, after removing space in column name, pls try the below filter query:

    Lopendcontract  eq 'Lopend'

    There should be blank or white space before & after eq operator.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

     

  • BartVdb1988 Profile Picture
    12 on at
  • BartVdb1988 Profile Picture
    12 on at
    Re: Filterquery Excel won't work

    @ManishSolanki 

     

    It works with what you said for the tabel/query "Opheffingsbrief Q"

     

    Now i have another problem with dates in the column name Coachview_D1 & Coachview_D2.

    When i puth this as format 

    formatDateTime(item()?['Coachview_D1'],'dd/MM/yyyy') in "selecting" - it won't work.  
    BartVdb1988_1-1697891591483.png
    BartVdb1988_2-1697891653789.png

     

    BartVdb1988_0-1697891550764.png
    In the empty cells normally i typ the formatformule like in "Opheffing Q" where it works. Here it won't work...
     
    Can you help me again?
     
    Thanks.
  • BartVdb1988 Profile Picture
    12 on at
    Re: Filterquery Excel won't work

    There are empty cells in the column.

    BartVdb1988_0-1697901465683.png

     

     

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard