cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alietzau
Advocate II
Advocate II

XOR Gating

I'm trying to gate content based on two boleans and I want to use an XOR gate to do it. I know powerapps has a normal OR gate, but there's no XOR gating. 

 

Is there some way to hack a work around?

1 ACCEPTED SOLUTION

Accepted Solutions
Mike8
Solution Sage
Solution Sage

Hello alietzau,

Is this what you are looking for?
(!(vVar>1&&vVar<3))&&(vVar>1||vVar<3)
Only one of the conditions should be true for the whole expression to be true

View solution in original post

2 REPLIES 2
Mike8
Solution Sage
Solution Sage

Hello alietzau,

Is this what you are looking for?
(!(vVar>1&&vVar<3))&&(vVar>1||vVar<3)
Only one of the conditions should be true for the whole expression to be true

View solution in original post

I tested this out and this works just like how I wanted it to. Thanks!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (30,678)