Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Floor and Ceiling function help

MM_Chris
8 - Asteroid

Hi there,

 

I was wondering if there was a way to parse through data and see which values need to be rounded either up or down. I know we have the floor or ceiling formulas, but would REGEX be useful for this case to check the decimal value to make sure whether that value needs to be rounded up or down?

 

Thank you.

12 REPLIES 12
Matt_Sinker
7 - Meteor

Hi again, sorry to be a pain.

 

How would I go about writing a similar formula: 

 

=IF([SS]-[Store Needs Units]<0,0,[SS]-[Store Needs Units])

Matt_Sinker
7 - Meteor

This is what I have, but it isn't working:

 

IF [Store Need Units]-[SafetyStock]<0 THEN 0 ELSE [Store Need Units]-[SafetyStock] ENDIF

mceleavey
17 - Castor
17 - Castor

Hi @Matt_Sinker, no problem.

 

IF([SS]-[Store Needs Units])<0 then 0 ELSE ([SS]-[Store Needs Units]) ENDIF



Bulien

Labels