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
Daven
Helper II
Helper II

Count number of times called on same date

Hi,

 

I am looking for some help adding a column to a table.

I need a new column with count of called from on same date. 3rd column is the result I am looking for.

 

Called FromDate CalledResult wanted (Count called from on same date)
12311/01/20191
12311/02/20191
00111/01/20192
00111/01/20192
00211/01/20193
00211/01/20193
00211/01/20193
00211/02/20191

 

 

I have other 10 - 12 columns in the table. (call start and end date, agent answered, Queue called on etc ).

 

The same caller might receive different agent on the same day or end time might be different. I need to count columns where only called from and called date is duplicate.

 

Thanks for your help 

 

Daven

1 ACCEPTED SOLUTION

Hi @Daven ,

 

try this.

 

Column = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Called From],'Table'[Date Called]))

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support. 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


View solution in original post

3 REPLIES 3

Hi @Daven ,

 

so?

Count_Calls.png

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Thanks Marcus 

 

Sorry I missed adding in the initial post that I have other 10 - 12 columns in the table. (call start and end date, agent answered, Queue called on etc ).

 

The same caller might receive different agent on the same day or end time might be different. I need to count columns where only called from and called date is duplicate.

 

Thanks,

 

Daven

Hi @Daven ,

 

try this.

 

Column = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Called From],'Table'[Date Called]))

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support. 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


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.