cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielRK
Super User
Super User

Not all rows are being inserted in my SQL table from my Excel table

Hi,

 

This is my flow:

 

DanielRK_0-1622441985150.png

 

My flow is succeeding but producing an unexpected result:

 

There are 804 rows in my Excel table that need to be written to my SQL table but only 256 rows are actually written to the SQL table.

 

What could be the problem?

 

Thank you for your help!

 

Regards,

 

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
DanielRK
Super User
Super User

Hi,

 

I figured out the problem. In the 'list rows present in the table' Excel action in the settings the threshold was empty so I assume 256 is the default threshold. I dialed it up past 804 and the flow inserted all 804 rows:

 

DanielRK_0-1622546829027.png

 

Regards,

 

Daniel

View solution in original post

3 REPLIES 3
DanielRK
Super User
Super User

Hi,

 

I figured out the problem. In the 'list rows present in the table' Excel action in the settings the threshold was empty so I assume 256 is the default threshold. I dialed it up past 804 and the flow inserted all 804 rows:

 

DanielRK_0-1622546829027.png

 

Regards,

 

Daniel

Mari
Community Support
Community Support

Thanks for sharing your findings!

DanielRK
Super User
Super User

Hi @Mari ,

 

It's a pleasure. Now I have another problem.

 

Each day I delete the prior Excel file (in my onedrive) with name 'Name.xlsx' and add a new file with yesterday's data and name it 'Name.xlsx'.

 

The Table name is 'Table1'.

 

So the new file has the same name and the table also has the same name as before but when I run the flow with the new file it fails saying it can't find the table.

DanielRK_1-1622621243100.png

 

DanielRK_0-1622621237415.png

I fixed this by remapping the 'file' path and 'table' field from scratch and reran the flow and it worked.

 

However, It becomes a manual job to do this each day and the idea is to automate. 

 

Do you have any tips to either make this more automatic or do the process differently?

 

Thanks a lot!

 

Regards,

 

Daniel

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,379)