Skip to main content
Skip table of contents

DateInPeriod

Returns if date is between time period start and end dates.

Syntax

CODE
DateInPeriod(date, Time_Member_Expression)

Arguments

date

Date expression.

Time_Member_Expression

MDX expression that returns Time dimension member.

Examples

CODE
DateInPeriod([Invoice].CurrentMember.getProperty('Invoice date'), [Time].CurrentMember) 

Will return true if Invoice date property of current Invoice dimension member is within current Time dimension period.

See also

AnyDateInPeriod

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.