You are viewing our older product's guide. Click here for the documentation of GoodData Cloud, our latest and most advanced product.
CEILING
The CEILING function rounds an input value to the nearest integer that is greater than it.
Syntax
SELECT CEILING(…)
CEILING(constant)
CEILING(fact)
CEILING(metric)
CEILING(metric_expression)
Examples
SELECT CEILING(12.2) = 13
SELECT CEILING(12.7) = 13