Forum Discussion
Chaucer
8 years agoHelper II
Calculating Distinct Calls per Day per Week
I've got a pretty table that shows the total number of outbound calls that my agents are making each week (over the last x weeks). I want to record the distinct calls each day, so if my agent calls ...
- 8 years ago
Assuming you have a table Calls with columns Date, Agent and Called Number with a relationship to a Calendar table with a Week number, see below a measure to calculate the distinct calls as you defined it:
DistinctCalls = COUNTROWS(SUMMARIZE(Calls,Calls[Date],Calls[Called Number]))
Create a table visual with Calendar[Week], Calls[Agent] and [DistinctCalls] and it should give you the desired result.
erik_tarnvik
8 years agoSolution Specialist
Assuming you have a table Calls with columns Date, Agent and Called Number with a relationship to a Calendar table with a Week number, see below a measure to calculate the distinct calls as you defined it:
DistinctCalls = COUNTROWS(SUMMARIZE(Calls,Calls[Date],Calls[Called Number]))
Create a table visual with Calendar[Week], Calls[Agent] and [DistinctCalls] and it should give you the desired result.
- Chaucer8 years agoHelper II
Brilliant, thanks! Exactly what I was after :smileyhappy: