Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm having a bid of hard time figuring something out. I have a table with rows of customers id's who called to the office. Every customer ID is unique per customer, this data is combined with a date.
I want to create a measure or calculated colmun that counts how many calls are repeated calls within one month without duplication of repeated calls. Is this possible?
For example:
| ID | DATE OF CALL | NUMBER of Repeated calls within one month before without duplication: |
| 1 | 1-1-2022 | 0 |
| 1 | 30-1-2022 | 1 |
| 1 | 12-2-2022 | 1 |
| 2 | 1-1-2022 | 0 |
| 2 | 15-1-2022 | 0 |
| 2 | 25-1-2022 | 2 |
| 3 | 1-1-2022 | 0 |
| 3 | 1-2-2022 | 0 |
| 3 | 1-3-2022 | 0 |
Solved! Go to Solution.
@Anonymous , a new column
new column =
var _date = eomonth([DATE OF CALL],0)
var _cnt = countx(filter(Table, [DATE OF CALL] <earlier([DATE OF CALL]) && eomonth([DATE OF CALL],0) = _date && [ID] =earlier([ID])),[ID])
return
if(Isblank(_cnt) ,0,1)
@Anonymous , a new column
new column =
var _date = eomonth([DATE OF CALL],0)
var _cnt = countx(filter(Table, [DATE OF CALL] <earlier([DATE OF CALL]) && eomonth([DATE OF CALL],0) = _date && [ID] =earlier([ID])),[ID])
return
if(Isblank(_cnt) ,0,1)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 18 | |
| 14 | |
| 14 |