Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Have Flow Execute a SQL and write the data into excel throwing error.

(0) ShareShare
ReportReport
Posted on by 2

I created a simple flow to execute SQL and export data to excel sheet .. but the flow throwing error saying the table name doesn't exist. any insight would really help

Capture2.PNGCapture.PNG.

 

 

 
 
  • v-litu-msft Profile Picture
    on at
    Re: Have Flow Execute a SQL and write the data into excel throwing error.

    Hi @Sunithanalla,

     

    Before List rows in an Excel table, you should make sure the table exists in the Excel file, then select the table in the Drop-down.

    If you want to add these data into the Excel file, but the table hasn't been created, you should create a table first.Annotation 2020-04-13 163459.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Have Flow Execute a SQL and write the data into excel throwing error.

    Hi @Sunithanalla 

     

    Can you try selecting the excel file by clicking the folder icon and then navigating to the actual file and selecting it in the File option on the excel action? 

     

    Once you select the file, you should be able to select the table from the dropdown in the Table option of the excel action. 

     

    Note that to appropriately read the excel file in Power Automate, the data should be formatted as a table. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow