Int

Returns the next lowest integer value of an expression.

Syntax

Int ( numeric_value_expression )
ParameterDescription

numeric_value_expression

A numeric value or an expression that returns a numeric value (see MDX Grammar Rules).

Example

Example 1

Int(104.504) returns 104.

Example 2

The following query

WITH MEMBER [Market].[West_approx]
AS
 'Int(
    Sum(
       Children([Market].[West])
    )
  )' 
SELECT
 {[Year].[Qtr1].Children}
ON COLUMNS, 
  {[Market].[West].children,
  [Market].[West_approx]}
ON ROWS
FROM 
 Sample.Basic
WHERE ([Measures].[Profit %], [Product].[Cola], [Scenario].[Actual])

returns the grid:

(axis)JanFebMar
California38.64337.98438.370
Oregon17.50016.12916.107
Washington29.23130.98632.000
Utah23.07723.07720.968
Nevada-3.947-6.757-5.333
West_approx104.000101.00102.000