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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Power BI community,
I am trying to calculate how many distinct calls a manager makes to a contact in the last month by using this DAX formula -
Solved! Go to Solution.
Hi @MFelix
Thanks for your reply. I have fixed the issue. There was an error in my table.
Once again, thanks for your help.
Kind regards,
Hi @ShubhamTrivedi ,
Please accept your own solution as the answer so it will be easier for other community users to identify it.
Hi @ShubhamTrivedi ,
Thank you for the update. I'm good to hear you resolved the issue. If you have any more questions or want to discuss further, please keep using the Microsoft Fabric Community Forum.
Thank you for your prompt reply @MFelix .
Regards,
Yugandhar.
Hi @ShubhamTrivedi ,
A couple of questions:
If you create a Date Table and related it with the CreatedOn column (or the date column of the Phonecall table), be sure to not do a date/time format then you can use a similar
DistinctContactsPrevMonth =
CALCULATE(DISTINCTCOUNT(phonecall[contactid]),
DATEADD(Calendar[Date], -1 , Month)
)
This should return the correct result.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @MFelix
Thanks for your reply. I have fixed the issue. There was an error in my table.
Once again, thanks for your help.
Kind regards,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |