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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Kaysa
New Member

Identify missed and returned calls

Hi there

 

When a call comes in the and the call is missed , i would like to know if the call was returned.

When the Result is Missed, that identifies a "Missed Call". I would like to know if the call is returned in 3 days, then it must count as a returned call. The "From" number for the missed call will be in the "To" column, will be the same.

 

Direction

To

From

Date/Time

Result

inbound

(123) 123-1231

(011) 111-1111

8/30/2024

missed

inbound

(123) 123-1231

(333) 111-2222

8/30/2024

missed

inbound

(842) 842-8421

(786) 223-223

9/1/2024

missed

inbound

(899) 899-8999

(222) 222-2222

9/1/2024

missed

inbound

(011) 111-1111

(444) 444-4444

9/1/2024

answered

inbound

(011) 111-1111

(444) 444-4444

9/1/2024

answered

inbound

(222) 222-2222

(899) 899-8999

9/6/2024

answered

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Kaysa ,

Based on the testing, please try the following methods:

1.Create the sample table.

vjiewumsft_0-1729559990317.png

2.Create the calculated column to identify if a missed call was returned.

ReturnedCall = 
VAR ReturnedCalls = 
    FILTER(
        'Table',
        'Table'[Result] = "missed" &&
        'Table'[From] = EARLIER('Table'[To]) &&
        'Table'[Date] <= EARLIER('Table'[Date]) + 3
    )
RETURN
    IF('Table'[Result] = "answered", "answered",
        IF(COUNTROWS(RETURNEDCALLS) > 0, "Returned", "Not Returned")
    )

3.The result is shown below.

vjiewumsft_1-1729560004899.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @Kaysa ,

Based on the testing, please try the following methods:

1.Create the sample table.

vjiewumsft_0-1729559990317.png

2.Create the calculated column to identify if a missed call was returned.

ReturnedCall = 
VAR ReturnedCalls = 
    FILTER(
        'Table',
        'Table'[Result] = "missed" &&
        'Table'[From] = EARLIER('Table'[To]) &&
        'Table'[Date] <= EARLIER('Table'[Date]) + 3
    )
RETURN
    IF('Table'[Result] = "answered", "answered",
        IF(COUNTROWS(RETURNEDCALLS) > 0, "Returned", "Not Returned")
    )

3.The result is shown below.

vjiewumsft_1-1729560004899.png

 

Best Regards,

Wisdom Wu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Kaysa
New Member

Direction

To

From

Date/Time

Result

inbound

(123) 123-1231

(011) 111-1111

8/30/2024

missed

inbound

(123) 123-1231

(333) 111-2222

8/30/2024

missed

inbound

(842) 842-8421

(786) 223-223

9/1/2024

missed

inbound

(899) 899-8999

(222) 222-2222

9/1/2024

missed

inbound

(011) 111-1111

(444) 444-4444

9/1/2024

answered

inbound

(011) 111-1111

(444) 444-4444

9/1/2024

answered

inbound

(222) 222-2222

(899) 899-8999

9/6/2024

answered

Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file.  Show the expected result very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur , please see table as per your request

There is nothing i can understand there.  Someone who does will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

when multiple calls come in from the same number and are all missed, and then someone calls that number back - how do you know which of the missed calls they respond to?  They could also respond to a call that was missed last month?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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