Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

In between two sets of numbers

yzhang316
8 - Asteroid

Hi,

 

I am trying to write a in between formula in the "Filter" drop down, but running to some issues...please help.

 

The filtered result should be: 

5,000 to 10,000 and 12,000 to 15,000

 

This is my formula, but it's not working...

ToNumber([Cost])>5000 AND ToNumber([Cost])<10000 AND ToNumber([Cost])>12000 AND ToNumber([Cost])<15000

 

Thank you

 

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @yzhang316

Try this:

(ToNumber([Cost])>=5000 AND ToNumber([Cost])=<10000) OR (ToNumber([Cost])>=12000 AND ToNumber([Cost])=<15000)

 

Cheers,

yzhang316
8 - Asteroid

 

 

Thank you!

Labels
Top Solution Authors