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 Automate / Filterquery Excel won'...
Power Automate
Answered

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?

Filterquery.png
Categories:
  • BartVdb1988 Profile Picture
    12 on at

    BartVdb1988_0-1697626183392.png

    This time with more view.

  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    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

    Hello ManishSolanki,

     

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

  • Manish Solanki Profile Picture
    15,169 Moderator on at

    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

    @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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard