Forum Discussion

wetscott's avatar
wetscott
Icon for Helper I rankHelper I
6 years ago
Solved

Rolling 12 Month Count within a single file, from a folder data source

Dispite trying to follow the various other solutions, nothing seems to work. I believe what I'm trying to do is a little unique compared to previous solutions, hence the new topic.   So I've got my...
  • wetscott's avatar
    wetscott
    5 years ago

    Omg got it! Here's the formula for anyone else that comes across this.

     

    CALCULATE(
    COUNTA('Report'[Notice Number]),
    DATESBETWEEN(
    AxisDateTable[Date],
    SAMEPERIODLASTYEAR(
    LASTDATE(AxisDateTable[Date])
    ),
    LASTDATE(AxisDateTable[Date])
    )
    )