Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

Syntax

 DateBeforePeriodEnd(date, Time_Member_Expression)

Arguments

dateDate expression.
Time_Member_ExpressionMDX expression that returns Time dimension member.

Examples

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.

See also

  • No labels