Forum Discussion
Counting concurrent calls
Hi,
I need to count the number of concurrent calls.
I have a start datetime of each call and an end datetime of each call, anyone have any ideas on counting the amount of concurrent calls?
Thanks
- Anonymous9 years ago
Hi timwilson,
Maybe you can try to use "countrows" function with calculate column to get the count of concurrent call.
Sample:
Concurrent Calls= COUNTROWS(FILTER('Table',[StartDate]>=EARLIER('Table'[StartDate])&&[EndDate]<=EARLIER('Table'[EndDate])))Regards,
Xiaoxin Sheng
4 Replies
- AnonymousNot applicable
Generally, I will advice you to bing/google for the terms "dax events in progress"... and see where that gets you... :)
- AnonymousNot applicable
Hi timwilson,
Maybe you can try to use "countrows" function with calculate column to get the count of concurrent call.
Sample:
Concurrent Calls= COUNTROWS(FILTER('Table',[StartDate]>=EARLIER('Table'[StartDate])&&[EndDate]<=EARLIER('Table'[EndDate])))Regards,
Xiaoxin Sheng
- jpurcellAdvocate I
is it possible to further filter this by user? to count the concurent events of each user, not of everyone.
- Abhishek8895Helper I
Can someone help..
I am trying to calculate concurrent chat an agent was between start time and end time but it always shows as 1.
Attached is the DAX and measure error as the yellow colou shows that the agent was in more than 1 chat, but still the DAX is showing just 1, what am I missing - Please helpDAX error as it doesnt count the concurrent chats correctlyDAX used
DAX used is :
Concurrent Chat = COUNTROWS(FILTER(data,data[Agent Connected On]>=EARLIER(data[Agent Connected On])&&data[Terminated On]<=EARLIER(data[Terminated On])))