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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The value '-' cannot b...
Power Apps
Answered

The value '-' cannot be converted to a number

(0) ShareShare
ReportReport
Posted on by 199

I just started getting this error message when trying to add a negative number in a few fields in powerapps. 

 

"the value '-' cannot be converted to a number"

 

I first noticed it in a text input control, so I played around with changing the format from text to number and vice versa. But that did not fix the problem. I then checked if I was getting a similar error on another screen where I know I've inputted negative numbers before. On this second screen, the input is a datacardvalue and the format is set to number.

 

Any help would be greatly appreciated. Thank you.

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @powerwood,

    Do you want to input negative number within the Text Input control?

    Could you please share a bit more about your need?

     

    Not sure how you will reference to this negative number from the TextInput, however, if you want to reference to it as a number value, you could directly use the Value() function to format it as a number format.

    vqiaqimsft_0-1655348684648.png

     

    Check if it is what you want to achieve.

  • Verified answer
    Tqphan87 Profile Picture
    32 on at

    I started getting the same error pop-up out of nowhere as well even though I'm still able to save the negative value with no issue. Searching through the forums, I went and turned off the experimental feature "formula-level error management" and the error message no longer appears. I still see it listed in the "Runtime" section of my App Checker though but that was how it was before.

  • rbergan Profile Picture
    199 on at

    @v-qiaqi-msft 

    It is a card in a form:

    powerwood_0-1656373517457.png

     

    The format for this is set to "Number". The default is set to Parent.Default. Once I removed the default value and set it to nothing, then the error message did not appear.

     

    @Tqphan87 , I had a similar experience as you did. When I submitted the form the error message did not impact the successful submission of the form and its data. The record was created and the value was a negative value. I also unchecked the "formula-level error management" experimental feature and it allowed for the negative value to be typed without an error.

     

    Thank you both.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard