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 / 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:
I have the same question (0)
  • 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

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

Last 30 days Overall leaderboard