Forum Discussion
Counting Solution rate per Date in [massive file]
Hello! Im trying to create an historical dashboard for our internal Service desk.
Trying to figure out the best way to show our solution rate in % per day/week/month/year.
This is a simplified version of my table:
| Date | Open group | Closure group | Solved | Transferred |
| date/time | group1 | group2 | 1 | |
| date/time | group1 | group1 | 1 | |
| date/time | group1 | group3 | 1 |
*Date and time ranges from 2016-2019, all days of the year, all contained in one table.
Any tips or idéas on how to achive a solution rate column that works with the drilldown function in the report dashboard.
11 Replies
- AnonymousNot applicable
1) I'd make generate a (calculated) table for time: https://kohera.be/blog/power-bi/how-to-create-a-date-table-in-power-bi-in-2-simple-steps/
2) After that make a relationship between date from your table and date from the calculated table.
3) Make a time hierarchy (Y/M/W/D) or whatever you prefer.
4) SolutionRate: count calculate(count(Solved), Solved ="1") / count(solved) or without the "" if it's really an integer. Count solved is just the total of all records.
5) Plot solution rate against the hierarchy dimension you just made
- CauseAndEffect
Helper I
Thanks alot! i will try that, do i need to create the Date table and hierarcy even if the time already exists within the table? See a more detailed version of the table?
Open Time @Timezone Close Time @Timezone Open Group Closed Group Solved Transferred 29 mar 2016 07:50:55 21 okt 2016 10:23:20 James Team James Team 1 29 mar 2016 07:50:55 21 okt 2016 10:23:20 James Team Mikes Team 1 29 mar 2016 07:50:55 21 okt 2016 10:23:20 James Team James Team 1 21 apr 2016 16:41:48 24 okt 2016 12:13:04 James Team Mikes Team 1 21 apr 2016 16:41:48 24 okt 2016 12:13:04 James Team James Team 1 21 apr 2016 16:41:48 24 okt 2016 12:13:04 James Team James Team 1 2 maj 2016 14:15:45 21 okt 2016 10:21:20 James Team James Team 1 2 maj 2016 14:15:45 21 okt 2016 10:21:20 James Team Mikes Team 1 1 2 maj 2016 14:15:45 21 okt 2016 10:21:20 James Team James Team 1 11 jul 2016 13:45:02 21 okt 2016 10:20:52 James Team James Team 1 11 jul 2016 13:45:02 21 okt 2016 10:20:52 James Team James Team 1 11 jul 2016 13:45:02 21 okt 2016 10:20:52 James Team Mikes Team 1 7 sep 2016 00:03:16 21 okt 2016 10:23:08 James Team Mikes Team 1 7 sep 2016 00:03:16 21 okt 2016 10:23:08 James Team Mikes Team 1 7 sep 2016 00:03:16 21 okt 2016 10:23:08 James Team Mikes Team 1 7 sep 2016 22:24:49 24 okt 2016 12:12:30 James Team James Team 1 7 sep 2016 22:24:49 24 okt 2016 12:12:30 James Team James Team 1 7 sep 2016 22:24:49 24 okt 2016 12:12:30 James Team James Team 1 14 okt 2016 09:48:25 21 okt 2016 10:18:06 James Team James Team 1 14 okt 2016 09:48:25 21 okt 2016 10:18:06 James Team James Team 1 14 okt 2016 09:48:25 21 okt 2016 10:18:06 James Team James Team 1 14 okt 2016 10:34:27 9 nov 2016 15:25:06 James Team James Team 1 14 okt 2016 10:34:27 9 nov 2016 15:25:06 James Team James Team 1 - AnonymousNot applicable
Yeah, it's advisable since it gives you the ability to view your data for the entirety of 2016, 17, 18 and 19 next to each other. You can then use drill down features to lower the granularity to months, weeks, days.