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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bianca________
Frequent Visitor

number of calls witth waiting time less than X value

Hi! I have a table for calls with the following columns : Calls_Id, Calls_Waiting_Time,Calls_Talking_Time

And a Table with Interval with values like 10,20,30,40 and so on which express number of seconds.

I need to do a pareto chart which counts how many calls were answered ( calls_talking_time >0 ) under all values from interval table

for example how many calls were answered before 10 seconds,20 seconds,30 seconds and so on

What is the Dax Formula for this?

1 REPLY 1
amitchandak
Super User
Super User

@Bianca________ , Hope that table is not joined with your table then you can have measure like

 

Sumx(Bucket, calculate(Countx(filter(Table, Table[Calls_Waiting_Time] <= Max(bucket[Value]) ), Table[call_id])))

 

Very similar to

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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