Min (MDX)
Returns the min of a Measure evaluated over a specified set.
Syntax
Min( Set_Expression, Measure )
Input Parameters
Set_Expression
A valid Multidimensional Expressions (MDX) expression that returns a
set.
Measure
A basic Measure.
Return Value
Returns a value of the same type as Measure equaling the min of the Measure evaluated over the given set.
Examples
Returns the MIN of salesamount1 over a 30 period window on the [Order Date Dimension].[Order Retail445] hierarchy.
Min(
[Order Date Dimension].[Order Retail445].CurrentMember.Lag(29)
:
[Order Date Dimension].[Order Retail445].CurrentMember,
[Measures].[salesamount1]
)
Returns the min salesamount1 value for [DateCustom].[StandardMonth] Years 2007 through 2008.
Min(
{[DateCustom].[StandardMonth].[Year].&[2007-01-01T00:00:00]:[DateCustom].[StandardMonth].[Year].&[2008-01-01T00:00:00]},
[Measures].[salesamount1]
)