Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

If all values are true for an option then return true else false

simpleminded
7 - Meteor

Hi everyone,

 

I am kind of stuck in this problem need your advise:

 

I have data that looks like this:

 

OptionValue
OPTION ATRUE 
OPTION ATRUE 
OPTION AFALSE
OPTION BTRUE 
OPTION BTRUE 
OPTION CFALSE
OPTION CFALSE
OPTION CFALSE
OPTION CFALSE
OPTION CFALSE

 

And I am looking for output like this

 

OptionValue
OPTION AFALSE
OPTION BTRUE 
OPTION CFALSE

 

Basically if all values for a particular option are True then set the value as true and if any value for a particular option is false set value as false and each option should have just 1 entry.

 

Thank you in anticipation of your advise. 

6 REPLIES 6
michael_treadwell
ACE Emeritus
ACE Emeritus

Try taking a Count of True by Option and a Count by Option and testing their equality.

 

See the attached example.

MarqueeCrew
20 - Arcturus
20 - Arcturus
If you use the SUMMARIZE tool and the MIN function, you will get FALSE if it ever is and TRUE otherwise.

Thanks,
Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
michael_treadwell
ACE Emeritus
ACE Emeritus

@MarqueeCrew wins

MarqueeCrew
20 - Arcturus
20 - Arcturus

It was a photo finish @michael_treadwell  you can use the Racer X image and we can team together!

 

images.jpg

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
ponraj
13 - Pulsar
 
santhosh
6 - Meteoroid
 
Labels