Skip to main content
Skip table of contents

DateBeforePeriodEnd

Returns if a date is before a time period end date.

Syntax

CODE
DateBeforePeriodEnd(date, Time_Member_Expression)

Arguments

dateDate expression.
Time_Member_ExpressionMDX expression that returns Time dimension member.

Examples

CODE
Count(
 Filter(
   Descendants([Invoice].CurrentMember, [Invoice].[Invoice]),
   DateBeforePeriodEnd([Invoice].CurrentMember.getProperty('Due date'), 
   [Time].CurrentHierarchyMember)
 )
)

Above formula will count how many Invoices are due before end of current Time dimension period.

JavaScript errors detected

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

If this problem persists, please contact our support.