Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I need to display the overlap call on same day and same customer with different positionid. For example, we have four calls for two days. But we need to display the overlap call (light orange highlighted) in the output.
One positionid started the call with the customer at 9:30 AM whereas different position cannot start the call with same customer. We need to find this type of scenarios.
Thanks in advance.
in the script sort your data by customer, and ScheduleStart in ascending order
the using a preceeding load check if previous customer is the current customer and position id <> previous position id then mark the row with 1 otherwise 0:
and your rows will be the ones where desired_row = 1
Hi @ali_hijazi ,
Thanks for your response. We need to display only EEE & GGG row because the activities have been done same customer on same day that between the first call of scheduled start and scheduled end.
Hi @ali_hijazi
AAA and CCC should not come in the output. These calls have been done in the same day with same customer but different time zone. We need to find the overlap call within the time range.
How do you know the time zone in each row?
What is the time range?
Everytime I suggest a solution you give me additional conditions
Hi @ali_hijazi ,
Thanks for your reply.
I clearly explained in the first message itself orange highlighted records to be displayed.
so you mean by time zone AM or PM?
Hi @ali_hijazi ,
Thanks for your response. We achieved it with your wonderful script. I tried with one more record which is getting in the output.
Thank so much for your assistance.