# Dax-formula:Show how many people has called more than once in the last 14 days

#### Caze982

##### Board Regular
Hi everyone

I have two columns one where i have phone numbers and one where i have dates. I would like to write a DAX-formula thats shows how many people in the last 14 days have called more than once. Does anyone know how to do that?

Sincerly
Christian

### Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

#### mart37

##### Well-known Member
Count of Calls =
VAR __CurrentRowID = Table1[Phone number]
RETURN
COUNTROWS(
FILTER(
ALL(Table1);
__CurrentRowID = Table1[Phone number]
)
)

Calls=
CALCULATE(
DISTINCTCOUNT(
Table1[Phone number]
);
FILTER(
Table1;
Table1[Date]>=TODAY()-14 && Table1[Count of Calls]>1
)
)

#### Caze982

##### Board Regular
Count of Calls =
VAR __CurrentRowID = Table1[Phone number]
RETURN
COUNTROWS(
FILTER(
ALL(Table1);
__CurrentRowID = Table1[Phone number]
)
)

Calls=
CALCULATE(
DISTINCTCOUNT(
Table1[Phone number]
);
FILTER(
Table1;
Table1[Date]>=TODAY()-14 && Table1[Count of Calls]>1
)
)

Replies
3
Views
890
Replies
0
Views
601
Replies
7
Views
689
Replies
4
Views
580
Replies
2
Views
801

1,141,715
Messages
5,708,052
Members
421,541
Latest member
Akidev

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back