Forum Discussion
powerbiexpert22
2 years agoImpactful Individual
rolling count
i am trying to create line chart to show the rolling count of promoters by yearmonth, it is giving me same results for all yearmonth in table pbix: https://drive.google.com/file/d/1-3eT8k82RvT...
- 2 years ago
powerbiexpert22 , Try using below measure
PromotersRollingCount =CALCULATE(COUNT(survey2[Promoters]),DATESINPERIOD('Date'[Date],LASTDATE('Date'[Date]),-3,MONTH))
bhanu_gautam
2 years agoSuper User
powerbiexpert22 , Try using below measure
PromotersRollingCount =
CALCULATE(
COUNT(survey2[Promoters]),
DATESINPERIOD(
'Date'[Date],
LASTDATE('Date'[Date]),
-3,
MONTH
)
)