Forum Discussion
Cumulative Count with KPI
Hi, cumulative counts are covered extensively here but I can't see an answer to my specific problem.
I'm trying to cumulatively count the number of calls a team of agents make in a day and benchmark them against a cumulative KPI.
First I summarize the the number of agents per day based on the calls table.
You can see in the images above when I inclide a date on the trend axis for the KPI the calls KPI is cumulative however the actual count of calls made is not. Removing the date gives the true cumulative figure for calls made but removes the trend axis.
Can someone please help?
3 Replies
- stevedepMemorable Member
Hi,
You have ALLSELECTED in your formula, this might be restricting your data.
- TJPCrabfatFrequent Visitor
Hi,
Thanks for the response. I've tried a few different filters within the CALCULATE function and nothing seems to work. I've tried ALL and also tried date < MAX(date). Can't understand why it works for the "Calls KPI" measure but not for the actual count of the calls.
Probably should have mentioned I'm struggling to get my head around context!
Cheers,
- stevedepMemorable Member
If you share you data model, some detailed sample data, it can easily be fixed.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490