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 / Get values as number f...
Power Apps
Answered

Get values as number from a form

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everybody!

 

I've been working on a project using a form processing AI model to extract values from invoices, and uses them to fill in a sharepoint database via Power Automate.

I noticed the AI formats all extracted camps as Text, but some of the camps represent numbers (i.e. 1,000.00) and the sharepoint list column where these values are input doesn't allow text.

Is there any way to tell the AI which camps are numbers, or any way to convert these values to numbers without manual intervention?

 

Thanks in advance!

 

 

Categories:
I have the same question (0)
  • Verified answer
    JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Thank you for the question. Indeed today the AI Builder Form Processing model extracts fields as text. To convert them to numbers, you can use expressions in your flow in Power Automate. The following link will show you how to do it: https://docs.microsoft.com/en-us/ai-builder/form-processing-model-in-flow#convert-a-form-processing-output-string-to-a-number-in-power-automate

     

    In a future update of AI Builder Form Processing, we will allow defining the type of a field (text, number, date...).

    Also, have you tried our AI Builder Invoice Processing prebuilt model? It extracts the most common fields found on invoices without having to train a model. This model returns numerical fields in a number format.

    I hope this helps! Let us know if you have further questions. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks! can you tell me which connector is that one under the AI builder one? i can't seem to find it anywhere.

  • JoeF-MSFT Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    It's the Dataverse connector, but it's just an example. You don't need to use the Dataverse connector. Just use the float() or int() expression as shown in the animation, in the SharePoint action for the inputs where you need a number value.

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 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard