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 / How to use LIKE SQL wi...
Power Automate
Answered

How to use LIKE SQL with Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone 

 

I am in need of help to query data using Like SQL Query Expression

 

so I have excel table with column named product_name

in product_name column we have D&D Asorted, D&D 56Pack and so on.

 

 

i want to pull this data using SQL query Like expression,

 

 

tried this SQL below but it cannot get the data

 

select product_name

from [Sheet1$]

Where product_name Like 'D[&]D*' 

 

  • Sundeep_Malik Profile Picture
    6,501 on at
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you, i already look for that above.

     

    when i set variable it give me syntax error.

     

    1. set variable D&D is text not variable

    Shin12_0-1662594712324.png

     

    i am not sure what i am doing wrong

  • ThomasFonn Profile Picture
    273 on at

    I'm not very good at SQL so I may be wrong here...
    It looks like you're using a quotation mark like this = ´
    rather than an apostrophe = '
    not sure if the SQL used in PAD supports the use of ´

  • eeeeeeeeeeeeee2 Profile Picture
    2 on at

    Example:

    SELECT * FROM device where ( model like %'\"%Desktop%\"'% or model like %'\"%Laptop%\"'% or model like %'\"%Workstation%\"'% ) and status ="Completed"
  • Verified answer
    martinaKolafova Profile Picture
    29 on at

    Use LIKE '%%D&Dt%%' 

  • Anthony_Luan051 Profile Picture
    3 on at

    Many thanks friend, It too helpful and I have resolved my error.

  • lailaal_alm Profile Picture
    10 on at

    please how did you resolve the problem?

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 426

#2
11manish Profile Picture

11manish 349 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard