Forum Discussion

cphite's avatar
cphite
Icon for Helper I rankHelper I
4 years ago
Solved

inconsistent Measure results by date

So I have a table BILLING_DATA which is a list of invoices, which is joined to a table FISCAL_CALENDAR by the invoice date.   The FISCAL_CALENDAR table has a column (added in power bi) called isCY ...
  • tamerj1's avatar
    tamerj1
    4 years ago

    cphite 

    Please try

    Billings CY =
    CALCULATE (
    'Billings Details'[Billings],
    FILTER ( 'Fiscal Calendar', 'Fiscal Calendar'[isCY] = "Y" ),
    ALLEXCEPT ( 'Billings Details', 'Billings Details'[InvNo] )
    )

     

    I suspect that you might have have two directional relationship?