Forum Discussion

vanessafvg's avatar
vanessafvg
Icon for Community Champion rankCommunity Champion
9 years ago
Solved

Current Fiscal month sales - DAX Error

I want to get the current sales in month for the Fiscal Date   this is my DAX Statement   Current Month Sales = CALCULATE( SUM(Registrations[Revenue]), FILTER('Date','Date'[FYMonthInYear] = MON...
  • Phil_Seamark's avatar
    9 years ago

    Please try this

     

    Current Month Sales = CALCULATE(
    SUM('Registrations'[Revenue]),
    FILTER(
    'Date',
    'Date'[FYMonthInYear]=MONTH(NOW())
    && 'Date'[FYYear]=YEAR(Now()) )
    )

     

     

    There is a really really subtle difference in where you have your closing brackets.