Forum Discussion

YesP's avatar
YesP
Helper I
1 year ago
Solved

Create a measure Current while filtering various month (YDT)

Hi, I have a visualization with YTD and Same Period Last Year. I want to create a measure to get the Actuals of the last Month of the YTD. For instance: I have Data from January to Decmber 13. My fi...
  • Ashish_Mathur's avatar
    1 year ago

    Hi,

    Try this measure

    Measure = calculate([Current],datesbetween(Calendar[date],eomonth(max(calendar[date]),-1)+1,max(calendar[date])))

    Hope this helps.