cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (48,025)