web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Push Excel Data to SQL...
Power Automate
Unanswered

Push Excel Data to SQL Server - Error - inner exception: We couldn't convert to Number.

(0) ShareShare
ReportReport
Posted on by 611

I trying to push data to sql server from excel. I'm getting a convert to number error although I'm not trying to convert anything to a number... There are no numbers in this export. Anyone know what Im doing wrong? Ive included a snapshot of the flow and the error.

 

I have an excel doc with the following columns:

AccountGUID

End Customer

Segment

Account

AccountGUID

 

In SQL Server I have:

End Customer or Department (maps to End Customer)

Segment (maps to segment)

Account (maps to account)

OneView Account (maps to AccountGuid)

ID (autoincrement rows/ primary key)

Flow Issue - sql to excel 12-13-19.png

Flow Issue - sql to excel 12-13-19 - 2.png

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: Push Excel Data to SQL Server - Error - inner exception: We couldn't convert to Number.

     

    Hi @TesDA ,

     

    I think the content of the configuration you configured in the Row Id field is problematic.

    As far as I know, the Row id needs to be a field of type number, and the GUID you are using is not the expected type.

     

    Whether you set the identifier column in the SQL table, the Update row action requires the row id to update the specified row.

     

    If you have set a similar id column, you need to filter the rows by the relationship between the column in the Excel table and the column in the SQL table.

     

    Configure Get rows and Filter Query to get the eligible rows and update it.

     

    Best Regards,

  • TesDA Profile Picture
    611 on at
    Re: Push Excel Data to SQL Server - Error - inner exception: We couldn't convert to Number.

    For anyone checking this for help with their flow configuration: 

     

    I had an auto-incrementing primary key, which did not have a connection with the excel table.  I had to delete the auto-incrementing key and making the AccountGUID the primary key.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard