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

Round Up

Inactive User
Not applicable

Hi,

 

I would like to round up the number and only keep to the nearest thousand for formatting purposes.

For example,

 

19599 should be 20000

33801 should be 34000

62499 should be 63000

1100   should be 2000

78999 should be 79000

all the number should be round up to thousand formatting.

 

I found there is function called round, but in Alteryx, this one is only for the nearest, not always round up.

Could anyone offer some ideas?

 

Thank you.

7 REPLIES 7
michael_treadwell
ACE Emeritus
ACE Emeritus

Spoke too soon, my logic was incorrect. Will rework.

jdunkerley79
ACE Emeritus
ACE Emeritus

@michael_treadwell:

Unless am missing something couldnt you use:

 

CEIL([Field1] / 1000) * 1000
michael_treadwell
ACE Emeritus
ACE Emeritus

@jdunkerley79 is correct. I was way overthinking the problem.

Inactive User
Not applicable

Thank you so much. It works well. 

Inactive User
Not applicable

Thank you, you answer is also helpful, give me some ideas.

 

 

JBM-JP
5 - Atom

CEIL?

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @JBM-JP ,

 

The CEIL (stands for ceiling) function rounds up a number to the nearest integer.

Labels