Forum Discussion
SLA % Calculations
Hey everyone!
I have tried every combination of calcs and measures to get this to work but to no avail.
What I'm trying to achieve is a set of 4 KPI visuals that have the % Achieved values based on priority 1-4 and to change based on the filtered assignment group (firm wide). As the example table shows, any idea how I can achieve this please!! Pulling my hair out :( Thanks!
| Assignment Group | Status | Priority | SLA % |
| A | Achieved | 1 | |
| A | Breached | 1 | |
| A | Achieved | 2 | |
| A | Achieved | 3 | |
| B | Breached | 1 | |
| B | Achieved | 4 | |
| B | Achieved | 4 | |
| B | Achieved | 3 | |
| B | Breached | 2 | |
| B | Breached | 2 | |
| C | Achieved | 1 | |
| C | Achieved | 3 | |
| C | Achieved | 1 | |
| C | Breached | 4 | |
| C | Breached | 2 |
6 Replies
- GilbertQSuper User
This will give you the % SLA no matter which fields you drag into your data.
NOTE: Change Table1 to your tablename
% SLA = DIVIDE ( COUNTROWS ( 'Table1' ), CALCULATE ( COUNTROWS ( 'Table1' ), ALL ( Table1 ) ) )- mshamsievHelper I
Hey again :) Thanks for the reply.
I'm aiming to have 4 buttons (KPIs), each will be filtered by P1-P2-P3-P4. On the side of the dashboard I have a filter with assignment groups. What I'd like is for each of the 4 visuals to present the % Achieved SLA for the selected assignment group or if I deselect the filter for a firm wide SLA for each priority. Thanks again!
Eg. p1 SLA % Achieved p2 SLA % Achieved etc.
98% 66%
Target: 95% (+3%) Target: 95% (-29%)