Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
timwilson
Frequent Visitor

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

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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 error as it doesnt count the concurrent chats correctlyDAX usedDAX 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])))

is it possible to further filter this by user? to count the concurent events of each user, not of everyone.

Anonymous
Not applicable

Generally, I will advice you to bing/google for the terms "dax events in progress"... and see where that gets you... 🙂

 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.