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 / SQL MULTIPLE SYNTAX PR...
Power Automate
Answered

SQL MULTIPLE SYNTAX PROCESSES

(0) ShareShare
ReportReport
Posted on by 296

Hello Community,

 

I want to know if the proposed syntax is right?

As a whole, only rows 1, 2 and 3 work for me, but rows 4 and 5 do not filter me.

If I raise individually 3, 4 and 5, the filter works for me.

 

fgonzalez515_0-1661923456938.png

 

I have the same question (0)
  • fgonzalez515 Profile Picture
    296 on at

    Some help

  • ZS440 Profile Picture
    262 on at

    hi @fgonzalez515 

    sample Download the Financial Sample Excel workbook for Power BI 

    Try it !

    2022-09-04 001637.jpg

     

  • fgonzalez515 Profile Picture
    296 on at

    Hi @ZS440,

     

    I tried this

    fgonzalez515_0-1662225551253.png

     

     

    But I also get other results, not those of the syntax

    fgonzalez515_1-1662225600628.png

     

    But in my excel it managed to filter my syntax

    fgonzalez515_2-1662225820121.png

     

     

  • Verified answer
    ZS440 Profile Picture
    262 on at

    Hi again @fgonzalez515 

    I want you to take a closer look.

    Note the use of brackets.”( )”.

    SELECT *
    FROM [Sheet1$]
    WHERE [Date] between #2014-01-01# and #2014-04-30#
    AND ([Country] ='Canada' OR [Country]='Mexico')
    AND([Product]='Carretera' OR [Product]='Amarilla' OR [Product]='Montana');

     

    ZS440_0-1662237736222.png

     

  • fgonzalez515 Profile Picture
    296 on at

    Hi @ZS440,

     

    Thanks.

    I managed to get everything with your observation.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard