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 / Sum of different value...
Power Apps
Answered

Sum of different values not allowed to be higher

(0) ShareShare
ReportReport
Posted on by 5

Hey @ALL

 

I would like to sum more fields. However, this value must not be higher than the value I entered in text input 1. If the value is higher I would like the button "Save&Submit" to be grayed out.

Someone an idea how I can implement that?

Anmerkung 2019-09-27 095921.pngFor example: I fill in "Arbeitstage" which is "workdays" the value 22. Now If i fill in the other fields "Faktura", Holidays" an "Intern Trainings", the value of the 3 fields isn´t allowed to be higher than 22. If so "Speichern&Weiter"  (Save&Submit) has to be grayed out.

 

 

Any ideas?

Thanks a lot

 

Categories:
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @MrGadget 

     

    For configuring this, you can set the DisplayMode property as:
     
    Button -> DisplayMode -> If(Value(Arbeitstage.Text) >= (Value(Faktura.Text)+Value(Holidays.Text)+Value('Intern Trainings'.Text)),DisplayMode.Edit, DisplayMode.Disabled)
     
    Here, Arbeitstage, Holidays, Faktura and Intern Trainings are the name of controls.
     
    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard