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

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

Top Solution Authors
Users online (2,676)