Forum Discussion
Charting SLA Monthly Percentages
Hi There,
I have report that shows if the Helpdesk Ticket has met SLA or not, it also sets tickets that don't have an SLA to N/A, quite a bit of the report was done by BeaBF .
I want to have a chart that shows the monthly SLA percentage and auto updates when I put in new daat each week. Each Ticket also has an owner of the ticket, so I want to be able to select that owner and it will chart their percentage. Below is the table.
I had similar in an Excel spreadsheet but I had to input the Montjly Data to get the chart to update.
J.
jbrines ok but average of which data? % of YES?
BBF
💡 Did I answer your question? Mark my post as a solution!
👍 Kudos are appreciated
🔥 Proud to be a Super User!
8 Replies
- FBergamaschi
Super User
Hi jbrines
you need a calendar table to connect to your ticket table (I refer to it as TicketTable from now on). So you can take the year and the month from that table and group it in rows in a matrix
The measure you need is somthing like this (put in the values section of the matrix)
SLA % =
VAR Tickets = COUNTROWS ( TicketTable )
VAR SLATickets = CALCULATE ( COUNTROWS ( TicketTable ), TicketTable[SLA Met] = "Yes" )
RETURN
DIVIDE (
SLATickets, Tickets
)If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
- AnonymousNot applicable
Hi jbrines ,
Thanks for reaching out to the Microsoft Fabric Community forum.To build the monthly SLA percentage chart. Add a calculated column to the Results table to determine the SLA Status for each ticket by comparing its Actual Time to the SLA target from the SLATime table, assigning values of Met, Not Met, or N/A when no SLA exists. After that, create DAX measures to count tickets that have an SLA, count tickets that met the SLA, and calculate the SLA percentage by dividing those two values, automatically excluding N/A tickets. Finally, use the Date field on the X-axis and the SLA % measure on the Y-axis in a chart, add Owner as a slicer or legend, and the visual will automatically update each time new weekly ticket data is added.
Updating the .Pbix as well for reference.
I hope this information helps. Please do let us know if you have any further queries.
Thank you - AnonymousNot applicable
Hi jbrines
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you.