Skip to main content

Notifications

Community site session details

Community site session details

Session Id : mD35T/We0kuoFIyYLRCQfc
Power Automate - Power Automate Desktop
Unanswered

Power automate desktop using SQL to filter Excel with SQL query and update data

Like (0) ShareShare
ReportReport
Posted on 6 Sep 2022 13:26:09 by

PAD to open SQL connection and execute SQL Statement to filter PO# columns and update certain information to the corresponding columns.Power automate desktop query-1.PNG

 

 

  • Community Power Platform Member Profile Picture
    on 08 Sep 2022 at 06:36:28
    Re: Power automate desktop using SQL to filter Excel with SQL query and update data

    I have solve this issue with below SQL code to filler and update variables. 

     

    update [Receipt$] RPT 
    set [Match_location]='JK'    
    where  [REV_DOC_NUMBER]= 'M29826738';

     

    however another scenario of copy data from specific column and update above things.

  • Community Power Platform Member Profile Picture
    on 08 Sep 2022 at 05:56:10
    Re: Power automate desktop using SQL to filter Excel with SQL query and update data

    I have not used SQL connections for Excel yet, but the strings in your SQL statement are with double quotes ("), they should be single quotes ('). 

    Also, I am not sure if you can use use select and update statements in one block. You might want to split that too.

  • AS-06081019-0 Profile Picture
    1,736 Super User 2024 Season 1 on 06 Sep 2022 at 18:58:05

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

#1
eetuRobo Profile Picture

eetuRobo 18 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 6

#2
John_Mavridis Profile Picture

John_Mavridis 6 Microsoft Employee

Overall leaderboard