March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
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 From | Date Called | Result wanted (Count called from on same date) |
123 | 11/01/2019 | 1 |
123 | 11/02/2019 | 1 |
001 | 11/01/2019 | 2 |
001 | 11/01/2019 | 2 |
002 | 11/01/2019 | 3 |
002 | 11/01/2019 | 3 |
002 | 11/01/2019 | 3 |
002 | 11/02/2019 | 1 |
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
Solved! Go to 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.
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
Hi @Daven ,
so?
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.
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
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.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
146 | |
97 | |
79 | |
69 |