Forum Discussion
Anonymous
3 years agoNot applicable
Count Tasks Next 30 Days
Hello,
I'm trying to count the tasks which are due in the next 30 days (from today). Is the below the correct measure?
Tasks Approaching = CALCULATE([OpenTasks] , (Date[c.DueMonth] >= TODAY() + 30))
Thanks,
pls try this
Tasks Approaching = VAR _StartDate =TODAY() VAR _EndDate = _StartDate +30 RETURN CALCULATE([OpenTasks] , DATESBETWEEN(Date[c.DueMonth], _StartDate,_EndDate ))
7 Replies
- AhmedxSuper User
pls try this
Tasks Approaching = VAR _StartDate =TODAY() VAR _EndDate = _StartDate +30 RETURN CALCULATE([OpenTasks] , DATESBETWEEN(Date[c.DueMonth], _StartDate,_EndDate )) - amitchandakSuper User
Anonymous , Need the correct table name, also need to know how openTaks works
Tasks Approaching = CALCULATE([OpenTasks] , Filter(Date, Date[DueMonth] >= TODAY() + 30))if open task measure is snapshot measure, referAverage of Rolling, Average of Snapshots: https://youtu.be/_pZRdLAJxxA- AnonymousNot applicable