cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Solution Sage
Solution Sage

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
Highlighted
Solution Sage
Solution Sage

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

Highlighted
Advocate II
Advocate II

Re: XOR Gating

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

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,009)