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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error while importing ...
Power Apps
Unanswered

Error while importing data in CDS with Dataflow

(0) ShareShare
ReportReport
Posted on by 67

Dear support,

 

I am getting error while trying to use a Dataflow to import data in CDS from an Azure SQL DB:

 

{"error":{"code":"0x0","message":"An error occurred while validating input parameters: Microsoft.OData.ODataException: Cannot convert the literal '191.00' to the expected type 'Edm.Int32'. ---> System.FormatException: Input string was not in a correct format

 

Any suggestion what it maybe happening?

 

Thank you in advance,

 

Jose G Diaz

I have the same question (0)
  • sperry1625 Profile Picture
    763 Super User 2024 Season 1 on at

    Integers are whole numbers, no decimal positions. If you want 191.00 the destination field needs to be Currency or Decimal Number type.

     

    Please mark as solution if this solves your problem.

     

    Thank you.

  • Jose Gregorio Diaz Profile Picture
    67 on at

    Thank you for the reply Sperry1625, the destination fields are decimal, actually all is being pre-populate from the dataflow creation (import in new DB) itself nothing changed.

     

    josegdiazv_0-1641308968456.png

    josegdiazv_1-1641309004614.png

     

    Thank you in advance,

     

    Jose G Diaz

     

     

     

     

  • sperry1625 Profile Picture
    763 Super User 2024 Season 1 on at

    The field you have highlighted above, Segment Distance, is defined as a Whole Number not a Decimal Number. Is that the field you are referring to? Is that the field that is generating the error? What is the source field defined as?

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hello @josegdiazv

     

    Change the Value '191.00' to '191' and try.

     

    Because system expecting IntegerNumber(whole number) but the value which you are passing is Decimal

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard