Forum Discussion
DebbieE
Community Champion
6 years agoKPIs using None Standard date Periods
say you have the following KPI based on a Monthly report Indicator: Fact Target Goal: Last Month fact Trend Axis Date (Month from the data hierarchy) But I also have reports based on Tim...
DebbieE
Community Champion
6 years agoThis is my Flag for the Rolling 12 Months
Rolling 12 Month Flag = IF(DATEDIFF('dim Date'[date].[Date],TODAY(),MONTH)<=12 && DATEDIFF('dim Date'[date].[Date],TODAY(),MONTH)>=0 ,1,0)
And this is the one for Rolling Quarter
Rolling Quarter Flag = IF(DATEDIFF('dim Date'[date].[Date],TODAY(),MONTH)<=3 && DATEDIFF('dim Date'[date].[Date],TODAY(),MONTH)>0,1,0)
kentyler
Solution Sage
6 years agoIt looks like the KPI indicator expects a set of dates. Perhaps you need a measure that selected the dates that have the correct flags....and then create the KPI over that.
It would help me if you could post a small sample power bi file.