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 / change a value if anot...
Power Apps
Answered

change a value if another field is selected too.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need that a YES / NO field to change if another is selected. How can I do it? Should I set any rules?

Example: 

If delivery services is true, 

Development  should be true Or yes too

 

Thanks for help !!!delive.PNG

 

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 

    Put this code in the OnVisible property of your screen.

     

    Set(resetToggle, false);

     

    Next, use this code in the OnChange property of your delivery services toggle

     

    Set(resetToggle, true);Set(resetToggle, false);

     

    Finally, put this code in the Default property of your development toggle.

     

    Toggle_DeliveryServices.Value

     

    ---
    Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly. If your thought the post was helpful please give it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What do I do when there are more values? For example, I have more '' toogles '' so I need for example: Delivery services is ''yes'' when '' sales = yes '' and '' accounting = yes '' 

    In the default value, I need them to be more than 1 value. Example:

     

    Default:    '' toogle_sales.value AND toogle_accounting.value. ''

     

    How can I make that work for me?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Is fixed with OR condition into Default Property !! 

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