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

Is there a way to filter on even/whole dollar amounts (25, 50, 75, 100, 125, 150, 200)?

mullinexm
5 - Atom

I’m trying to filter even/whole dollar amounts for an analytic. There is a way to filter on increments of 25 or 50? Any help/guidance would be great.  Thanks!

3 REPLIES 3
andrewdatakim
12 - Quasar
12 - Quasar

You can use the mod function. It provdies you with a remainder, so you can divide by 25. Anything that is not a multiple of 25 will fall out. 

 

Place this in the "Custom Filter" Option within the filter:

 

IF(MOD([Field1],25)>=1)
THEN 'FALSE'
ELSE 'TRUE'
ENDIF

mullinexm
5 - Atom

Thanks! But I'm still having problems with the MOD working.  I copied it into the custom filters window and change [Field1] to the [Signed Amount].  However, it isn't filtering out amounts that are multiples of 25 that are greater than zero.  I placed browsers on both the 'T' and 'F' output and i still have a mixed of data.

 

AndrewW
11 - Bolide

Andrew's suggestion should work so sounds like you need to troubleshoot. Use a formula tool and create the experssion Mod([Field1], 25). See the results of this against your data and see if you're getting what is expected - i.e. the number 50 should return 0 and 109 should return 9.

 

Labels