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 'Text' canno...
Power Apps
Answered

The value 'Text' cannot be converted to a number

(1) ShareShare
ReportReport
Posted on by 20
In my powerapp I have a label that does a simple calculation. The label displays the difference between two labels. I use Value() around labels so I am not sure what I am missing. This only shows after I publish the app, I commented out the code , published again and the error is gone. I hope someone can help me.
 
If(IsBlank(BudgetOverview.Text || InvoiceTotal.Text),"",Value(BudgetOverview.Text-InvoiceTotal.Text))
 
I get the following error : The value "Text" cannot be converted into a number.
 
Categories:
I have the same question (0)
  • KennyJ Profile Picture
    168 on at
    Try wrapping the individual controls in the Value function.  I.e Value(BudgetOverview.Text)Value(InvoiceTotal.Text)
  • rencygonzalez Profile Picture
    20 on at
    I did try that as well and still didn't work. 
  • BurtekWu Profile Picture
    12 on at
    Try this approach:
     
    If(IsBlank(BudgetOverview.Text) || IsBlank(InvoiceTotal.Text),"",Value(BudgetOverview.Text)-Value(InvoiceTotal.Text)).
     
     
  • Verified answer
    timl Profile Picture
    36,634 Super User 2026 Season 1 on at
    It almost sounds as though the BudgetOverview or InvoiceTotal labels contain the literal value "Text"
     
    It might be worth doing an additional check in the If statement to ensure that both of these are numeric. That might remove the error.
     
    If(
        IsBlank(BudgetOverview.Text) || IsBlank(InvoiceTotal.Text) || 
        !IsNumeric(BudgetOverview.Text) || !IsNumeric(InvoiceTotal.Text),
        "",
        Value(BudgetOverview.Text) - Value(InvoiceTotal.Text)
    )
     
  • rencygonzalez Profile Picture
    20 on at
    This worked thank  you!! @timl
     
    If(
        IsBlank(BudgetOverview.Text) || IsBlank(InvoiceTotal.Text) || 
        !IsNumeric(BudgetOverview.Text) || !IsNumeric(InvoiceTotal.Text),
        "",
        Value(BudgetOverview.Text) - Value(InvoiceTotal.Text)
    )
  • timl Profile Picture
    36,634 Super User 2026 Season 1 on at
    You're welcome @rencygonzalez - glad that worked!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard