Forum Discussion
Need to find future date tasks count
- Anonymous2 years ago
HI Navaneetharaju_,
I'd like to suggest create unconnected table a source of slicer. You can try to use the following measure formula if it suitable for your requirement:
formula = VAR selected = MAX ( NewTable[Date] ) VAR timeStart = MAX ( Table1[Task_Start_date] ) RETURN CALCULATE ( COUNT ( Table1[Task_Name] ), FILTER ( ALLSELECTED ( Table1 ), AND ( [Task_Start_date] <= selected, OR ( [End when] = BLANK (), [End when] >= selected ) ) && [Task_start_time] >= timeStart ) )Regards,
Xiaoxin Sheng
Hi 123abc ,
I have tried that the measure u shared. I haven't received any results.
I have attached the screenshots
Please help me to get this done. if we can connect via google meet also. i'm fine with that.
Hi Navaneetharaju_ ,
Can you please share some more detail information about this issue? They should help us clarify your scenario and test to troubleshoot.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
- Navaneetharaju_2 years ago
Helper II
Hi Anonymous ,
Can you please use this below mentioned table.
Task_Name Task_Start_date Task_start_time repeat_every repeat_by End Occrance End when Server Task A 20-Jan-24 10:00 1 days ProdAM Task B 20-Jan-24 12:00 2 days ProdAM Task C 20-Jan-24
15:00 15 minutes 5 25-Jan-2024 ProdSM
Task D 20-Jan-24
18:00 1 days 26-Jan-2024 ProdAM
Task E 20-Jan-24
15:00 1 weeks 28-Jan-2024 ProdSM
If i select only one date in my slicer, for example 26-Jan- 2024, the result should be on that date is
Expected Result Result on 26th- Jan-2024 Time Bin Count 10:00 - 11:00 1 12:00 - 13:00 1 15:00 - 16:00 1 Task C count won't come because it stopped on 25-Jan-2024. 18:00 - 19:00 1 future date also has to select like 25-Feb-2024 and 01-Mar-2024(randomly)
Thank you.
- Anonymous2 years agoNot applicable
HI Navaneetharaju_,
I'd like to suggest create unconnected table a source of slicer. You can try to use the following measure formula if it suitable for your requirement:
formula = VAR selected = MAX ( NewTable[Date] ) VAR timeStart = MAX ( Table1[Task_Start_date] ) RETURN CALCULATE ( COUNT ( Table1[Task_Name] ), FILTER ( ALLSELECTED ( Table1 ), AND ( [Task_Start_date] <= selected, OR ( [End when] = BLANK (), [End when] >= selected ) ) && [Task_start_time] >= timeStart ) )Regards,
Xiaoxin Sheng