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 / Patch Function to a Da...
Power Apps
Unanswered

Patch Function to a Dataverse column which expect a number

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I created an Dataverse table in which there are columns with numbers. So the column expects not a text value, it expects a number value. How do I patch a value of a field to this table?

 

Since there are no number controls in PowerApps I created a text control and want to patch the value to my datasource as a new entry. I created a button in which i put on the OnSelect control: Patch(AppData, Default(AppData),{numberValue: DataCardValue_1.Text}) which gives an error, because the column expects a number value. Any possible way?

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,935 Moderator on at

    Hi @Anonymous ,

     

    Try :

     

    Patch(AppData, Default(AppData),{numberValue: Value(DataCardValue_1.Text)})


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

     

  • Community Power Platform Member Profile Picture
    on at

    Tanks for the help, but it keeps giving an error. The error is: Does not support untyped value in non-open type, invalid property

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