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 / Send data in Number co...
Power Apps
Suggested Answer

Send data in Number column of SharePoint list using Patch Function from Canvas app

(0) ShareShare
ReportReport
Posted on by 78
Hello Everyone,
 
Using Patch function I am sending data into SharePoint list from my gallery below is the image of table that I created using gallery
 
Problem:
the issue that I am facing is that I am unable to send data into Number column of SharePoint list, this is the formula for quantity column
(
Patch('Line Items',ThisItem,{Quantity:TextInputCanvas4_2.value})
)
Price column formula
Patch('Line Items',ThisItem,{Price:TextInputCanvas4_3.Value})
 
but I am able to send the data for Vendor, Item & Description column using these formula's
Patch('Line Items',ThisItem,{Description:TextInputCanvas4_4.Value})
 
Please let me know if anyone know how to resolve.
Thanks for support
I have the same question (0)
  • Suggested answer
    SebS Profile Picture
    4,746 Super User 2026 Season 1 on at
    Hi,
     
    You need to wrap the text control in Valu() to make sure it will cast it as number
     
    Patch('Line Items',ThisItem,{Quantity:Value(TextInputCanvas4_2.value)})
     
    Hope that helps
  • SR-02111122-0 Profile Picture
    78 on at
    Thanks that works. Can please let me know one more thing, In Price column I also want to include $ sign in my text input field. 
  • Suggested answer
    SebS Profile Picture
    4,746 Super User 2026 Season 1 on at
    If user for example enter $10 or you adding the $ you can do it that way 
     
    Patch(
    'Line Items',
    ThisItem,
    {
    Quantity: Value(Substitute(TextInputCanvas4_2.Text, "$", ""))
    }
    )
     
    So before Patching and converting to number it will remove $

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
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard