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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (55,963)