cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Rules with Exceptions in PowerApps

I have 3 dropdown fields in my form. Here is my rule below:

 

IF

Or(Dropdown3.Selected.Value = Dropdown3_1.Selected.Value, Dropdown3.Selected.Value = Dropdown3_2.Selected.Value, Dropdown3_1.Selected.Value = Dropdown3_2.Selected.Value)

 

Then

Each dropdown turns red

 

 

But I need to add an exception that if any two dropdowns = "None", the rule doesnt apply.

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Rules with Exceptions in PowerApps

Hi @Anonymous,

 

Then the formula should be:

And(Not(Or(And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value <>"None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value <>"None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value <>"None"))),Or(Dropdown3.Selected.Value = Dropdown3_1.Selected.Value, Dropdown3.Selected.Value = Dropdown3_2.Selected.Value, Dropdown3_1.Selected.Value = Dropdown3_2.Selected.Value))

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Rules with Exceptions in PowerApps

Hi @Anonymous,

 

Then the formula should be:

And(Not(Or(And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value <>"None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value <>"None",Dropdown3_2.Selected.Value ="None"),And(Dropdown3.Selected.Value ="None", Dropdown3_1.Selected.Value ="None",Dropdown3_2.Selected.Value <>"None"))),Or(Dropdown3.Selected.Value = Dropdown3_1.Selected.Value, Dropdown3.Selected.Value = Dropdown3_2.Selected.Value, Dropdown3_1.Selected.Value = Dropdown3_2.Selected.Value))

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Rules with Exceptions in PowerApps

@v-monli-msft Thank you for your help with this! However, the requirement just changed. How can I apply this when all 3 dropdowns equal NONE instead of two?

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,979)