All eazyBI for Jira eazyBI for Confluence Private eazyBI

DateBeforePeriodEnd

EAZYBI 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

  NonZero(IIF(
      DateBeforePeriodEnd(
        [Issue].CurrentMember.get('Created at'),
        [Time].CurrentHierarchyMember) AND
      NOT DateBeforePeriodEnd(
        [Issue].CurrentMember.get('Resolved at'),
        [Time].CurrentHierarchyMember),
    ([Time].CurrentHierarchy.DefaultMember,
      [Measures].[Issues created]),
    0
  ))

See sample report Created vs resolved issues over time in our Demo account. Measure Open issues contains the formula above pulling in issues created in the period or in any previous period and not resolved in the period or any previous period.