cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alietzau
Level: Powered On

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
Super User
Super User

Re: XOR Gating

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
Super User
Super User

Re: XOR Gating

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

alietzau
Level: Powered On

Re: XOR Gating

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

Helpful resources

Announcements
thirdimage

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,680)