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 / A text field with the ...
Power Apps
Unanswered

A text field with the setting "number" is not a number

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a text field, set the "number" in the settings, not the text. I enter the letters in the field and they disappear, I enter the numbers and they remain.
I try to enter data from a field into a table using Patch, but I get an error that "2234" is not a number!
I created a text field with the formula

 

If (IsNumeric (TextInput5_5); "Numeric!"; "Is not")

 

and the field also shows that this is not a number.

How can this be? Have I missed the setup somewhere?

01.jpg

Categories:
I have the same question (0)
  • SeanHenderson Profile Picture
    1,104 on at

    Hi,

    Try:

    If(IsNumeric(Textinput5_5.Text), "Numeric!", "Is not")

     

    ---
    Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This works for a text field, but not for entering into the database. After checking it shows that this is a number, but nevertheless, when I enter it, I get an error due to the fact that 1, this is not an error.

    I enter the bash using the function

     

     

     Patch (
            Table1_1;
            Defaults (Table1_1);
            {
                Format: Dropdown1.Selected.Formats;
                Order: Value (TextInput5.Text);
                'Stream-eat': TextInput5_1.Text;
                Code: TextInput5_2.Text;
                Marked: Value (TextInput5_3.Text);
                Deleted: Value (TextInput5_4.Text);
                Gluing: Value (TextInput5_5.Text);
                Domotano: Value (TextInput5_6.Text);
                Surname: Surname;
                Start: DateTimeValue (DatePickerS.SelectedDate & "" & StartTimeH.Text & ":" & StartTimeM.Text);
                Stop: DateTimeValue (DatePickerF.SelectedDate & "" & FinH & ":" & FinM);
                Report: templatename
            }
        ) ;;

     

     

    And in the remaining fields he likes everything, in the remaining numbers and without problems, but here are some mistakes.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here is a picture. Ignore the empty fields, they are cleared after entering.01.jpg

  • SeanHenderson Profile Picture
    1,104 on at

    For which field is it expecting a number and getting the error? What data type is that field in your data source?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Field textinput5_5. Gluing.
    The number is in the field settings, the number is in the table properties, I will pass the number, but for some reason the table is not passed a number.

  • SeanHenderson Profile Picture
    1,104 on at

    What is the data source? CDS? SQL Server? SharePoint?

     

    In the data source, what is the data type for the Gluing field set to?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    excel table in sharepoint.

  • SeanHenderson Profile Picture
    1,104 on at

    In your SharePoint list, what is the data type for the Gluing column?

    Annotation 2019-11-29 113257.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Is number

    01.png

  • SeanHenderson Profile Picture
    1,104 on at

    Your data source is just an excel file, SharePoint isn't involved?

     

    Wherever you are trying to store the data it is telling you that the column you are trying to store it in will not accept a number.

     

    Try Text(TextInput5_5.Text)

     

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard