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 / power apps place calcu...
Power Apps
Unanswered

power apps place calculations into datacard textbox

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

I need to insert some simple calculations into the datacard DataCardValue29 which comes from result out of FOMR submition. After I need to upload this information direclty to sharepoint list when Form is saved.

The Result Socre Data_Card1 is text box input single line with numeric values only.

 

000150.jpg

Categories:
  • Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at

    @Anonymous 

     

    I just want to be clear of the steps.

     

    -You have a text box on the Form already

    -That must be a Column that is part of your submit? 

    -And once the form is submitted, and the data comes back... is there data in that column or are you using other columns to calculate?

     

    I believe you should use a calculated Column instead, but here is how you do what you asked.

    1. In your button do your Submit

    2. The next line, would be you reading the Values that came back and doing your calculation

    3. Do a Patch to that column (not another Submit). Like this

     

    Where TestList put your list/table name, Form1.LastSubmit, points to the record you just submitted, so you can patch it, and the Title is just me using my own column, but thats where you would put your Column and its Calulated Value

    Patch(TestList, Form1.LastSubmit,
     {
     Title: "MyCalculated value"
     }
    )

     

     

    Question: Have you thought about using a Calculated Column in the List or Table?

    The issue I see is you want the front end to do a calculation, but then immediately, submit again, which you can do, it will trigger another Submit and how I would normally tell you to solve this wont work, as it will cause a loop.

     

    Doing multi submits like this can really mess up the standard usage of OnSuccess and OnError


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello

    - Well I have a List on Sharepoint. In powerapp , User will select choises from choises columns , this can be multiple combinations , I must calculate resulting combination which is giving me value from 1 -10 (number) . 

    I need to have this value imidiately visible when form is fulfiled so the user can see what he just selected.

    - After I need to transfare this value into the column Result Score

    I can use us the Calculated Column but the calculation is more complex and is easier to program it in powerapp for me.

    - In the pictures is explained what is have and what is need.

    000151.jpg
    000152.jpg
    000153.jpg

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard