In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

In Customer Filter 1=2?

rohit782192
11 - Bolide

Sometimes we put 1=2 in Custom Filter. What it Exactly meaning in Logic.

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@rohit782192 
It is a very interesting topic, and I am not sure 😁

TimN
13 - Pulsar

Hi,

I've seen and done this in SQL, particularly Dynamic Input tool.  This is done there because it's just a template for the tool initialization and "1 = 2" string will be replaced at runtime.  If replacement doesn't occur then there won't be any rows returned because 1 = 2 is always false.  If you're putting this in a filter tool then you're guaranteeing False.

Labels
Top Solution Authors