Forum Discussion

2 Replies

  • Spotto , Assuming 5/31 is fixed, you have used a measure like this

     

    YTD Sales = CALCULATE(AvergaeX(Values('Date'[Month Year]), CALCULATE(SUM(Sales[Sales Amount]))),DATESYTD('Date'[Date],"5/31"))

    • Spotto's avatar
      Spotto
      Icon for Helper IV rankHelper IV

      thanks for your time but i tried your solution and did not work, I left the file in the post could if you want to test.