Forum Discussion
wetscott
Helper I
6 years agoRolling 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...
- 6 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])))
amitchandak
Super User
6 years agowetscott , as per what I get is you need rolling 12 months based on the selected date.
Best is relative date slicer if it fits in
https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range
This is one solution that should work for rolling 12 with some modifications - https://www.youtube.com/watch?v=duMSovyosXE