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 / Form field values auto...
Power Apps
Answered

Form field values auto update before submitting

(0) ShareShare
ReportReport
Posted on by 355

Hi all,

 

I have two fields where the user selects a numerical values via a combox list (source is SharePoint List picklist). A third field has a simple multiplication based on the DataCardValue of the two combo boxes. Based on the numerical value of that third field I want to update a forth field with a text value.  This will then allow me to submit the form and have all four records update. 

 

The forth field is traditionally a combo box too but I can't get the formula to work based on the DataCardValue of the 3rd number value, instead I have to select from source which seems means the save doesn't update the SP List value of the 4th field

 

When trying a simple trial, If(DataCardValue381 < 6, "Low", "Medium"), I get an invalid argument type, expecting a Number value.

 

What am I doing wrong?

 

If(
 Value(ThisItem.'Int Score') < 6,
 (Filter(
 Choices([@'Register'].'Int Rating'),
 Value = "Low"
 )), 
 If(
 Value(ThisItem.'Int Score') > 9,
 (Filter(
 Choices([@'Register'].'Int Rating'),
 Value = "High"
 ) ), 
 (Filter(
 Choices([@'Register'].'Int Rating'),
 Value = "Medium"
 ))))

 

Categories:
I have the same question (0)
  • Verified answer
    Coopedup Profile Picture
    355 on at

    This is the greatest forum. You post and 6mins later work out the answer. 

     

    Value(DataCardValue381.Text)

    If(
     Value(DataCardValue381.Text) < 6,
     (Filter(
     Choices([@'Register'].'Int Rating'),
     Value = "Low"
     )), 
     If(
     Value(DataCardValue381.Text) > 9,
     (Filter(
     Choices([@'Register'].'Int Rating'),
     Value = "High"
     ) ), 
     (Filter(
     Choices([@'Register'].'Int Rating'),
     Value = "Medium"
     ))))

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Coopedup 

    And perhaps even better that a little while later, someone comes along and refactors a bit to reduce your formula typing:

    {Value:
     If(Value(DataCardValue381.Text) < 6, "Low",
     Value(DataCardValue381.Text) > 9, "High",
     "Medium"
     )
    }

    😁 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard