cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Import Excel file to sql server

Hello everyone,

 

I want to ask if it is possible to upload excel file on computer to sql using flow. My intent is to use to powerapps to upload the data to sql server. As I saw on powerapps community, it can be possible using flow, assuming that excel and sql server tables have same columns. Can anyone help me out? Other recommendations are highly appreciated as well.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @islamsirab ,

 

Screenshot as below as @DeepakS  mentioned:

1.png

You also need to create table to the excel file refer to document below:

https://support.office.com/en-us/article/create-and-format-tables-e81aa349-b006-4f8a-9806-5af9df0ac6...

 

Best Regards,

Alice

 

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

View solution in original post

2 REPLIES 2
Super User
Super User

Hi @islamsirab 

 

You need following to make it work:

- SQL Connector to connect to you sql table

- Store Excel file to one drive or SharePoint (Please not it should data in a table for Flow to work)

  Flow Action - "List rows present in a table"

- Loop through each row of Excel in flow and create a record (Insert Row Action) is SQL table

 

Regards,

Community Support
Community Support

Hi @islamsirab ,

 

Screenshot as below as @DeepakS  mentioned:

1.png

You also need to create table to the excel file refer to document below:

https://support.office.com/en-us/article/create-and-format-tables-e81aa349-b006-4f8a-9806-5af9df0ac6...

 

Best Regards,

Alice

 

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

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (8,700)