Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Azucrinador
Regular Visitor

Service Level Agreement (SLA) calculation

Dears, good afternoon!

I'm having a bit of trouble getting to a result of SLA, in this matter, i want to calculate the SLA percentage of a period in which the service was unavailable.

Example: The service is meant to be running 100% of the time, and when it has a failure (calculated in minutes), it will deduct of it's total SLA. I was able to get the SLA based on 30 days only, with the formula (SLA = ((SUM('Plan1'[TEMPO ABERTO])-43200)/43200)*-1). TEMPO ABERTO = running time. 

Below is an example of how it is being viewed.

Azucrinador_0-1667505413075.png

I can reach the desired SLA but only determining that it has to be calculated in 28, 30 or 31 days.

Is there any way I can perform it to calculate it by month? Like, if the ticket was opened in October, having 22 minutes of failure, it will be the sum of TEMPO ABERTO (unavailable time), minus 44.640 minutes (31 days), divided by 44.640 (31 days).

Thanks!





1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @Azucrinador 

Do you mean you want to get the minutes accoding to the Month ?

If this , you can define a parameter to get the minutes, you can use this to get how many days in this month:

DAY(EOMONTH('Table'[Date],0)) 

Then you can get how many minutes in this month.

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.