Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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