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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
mwegener
Most Valuable Professional
Most Valuable Professional

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 - Power BI Tutorials


View solution in original post

3 REPLIES 3
mwegener
Most Valuable Professional
Most Valuable Professional

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 - Power BI Tutorials


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

mwegener
Most Valuable Professional
Most Valuable Professional

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 - Power BI Tutorials


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.