The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Filter with "OR"

Surname
Meteoro

Hi guys, 

 

I have follow data set: 

Filter or.PNG

 

I would like to filter doctors who has choosen Product A or Product B or Product C. Which formula should I use? 

2 RESPOSTAS 2
DataBlender
Bólide

Hi @Surname

 

The following code will get you the result you want. Enter into the expression box of the filter tool after choosing the 'custom filter' radio button

 

[Product A] = 1
OR
[Product B] = 1
OR 
[Product C] = 1
MarqueeCrew
20 - Arcturus
20 - Arcturus
Or you could use:

Max([product a],[product b],[product c]) == 1

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Rótulos
Autores com maior número de soluções