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 / I want to modify field...
Power Apps
Answered

I want to modify field based on another field.

(0) ShareShare
ReportReport
Posted on by 30

YasarKhan1892_1-1693491702094.png

Hi Friends, I am new in power apps. I want to modify Total claim percentage field based on another field. I have SharePoint list connected to power apps.

Formula is If( Claim approved = Yes)

{

Total claim percentage = Warranty percentage + Good will percentage;
}

else

{

Total claim percentage = Good will percentage;

}

Categories:
  • Verified answer
    Lisa3 Profile Picture
    46 on at

    With a boolean you don't need the "=" statement.  The default for an if would be that the value of your boolean is true (yes).  Make sure you are referencing the input fields in your formula.  I renamed my input fields to valWarranty, valGoodwill, and valClaimApproved.  Then your formula for the default of the total claim would be:

    If(valClaimApproved, valWarranty+ valGoodwill, valGoodwill)

    Lisa3_0-1693492996629.png

     

  • Geeks_D Profile Picture
    1,169 on at

    Hello 

    You will need to use the control variable to manage this 
    The formula will be in the Text attribute for Total Claim Percentage Control - 

    I will assume you did not change the values for the toggle control
    If(ClaimAppovied. Value = true, Warranty percentage + Good will percentage, Good will percentage) 

  • Verified answer
    YasarKhan1892 Profile Picture
    30 on at

    Thank you, Lisa, it worked. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard