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

Get values as number from a form

(0) ShareShare
ReportReport
Posted on by

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
    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
    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
    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

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard