Forum Discussion
Jos13
6 years agoHelper III
DATEDIFF
Hi Team, I have the following data I just wanted to count those records with status = "IN" and the time difference between the dates > 30 minutes for the same mobile number. In this example, ...
- 6 years ago
tex628
6 years agoCommunity Champion
Did you miss a column in your picture? Theres only one date present
/J
Jos13
6 years agoHelper III
Hi tex628 ,
There is only one date column in the table. It indicates the date and time an issue came. I just wanted to count the issues only once that came from the same mobile number within 30 minutes. Issues with status "IN" are considered for the calculation.
Thanks
Jos
- tex6286 years agoCommunity Champion
Alright,
So if theres 5 IN calls for the same number, are the 1's in the correct place?:
10:00 - 110:15
12:15 - 1
12:30
13:15 - 1