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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

SLA % Measures

Hi all

 

I've got a SLA column with "Breached", "Within" and "No Target".

I need to work out the % "Within" based on the SLA column ("Within" and "Breached") . Anyone know how I can achieve this?

 

Example: If i have 110 rows in SLA Column, where 80 are Within, 20 are Breached and 10 No Target. So the % FulFillment (Within) SLA is 80% above 100 rows measured (Within and Breached items). Thankfull.Image

 

 

Captura.JPG

 

1 ACCEPTED SOLUTION
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Anonymous,

 

To achieve your requirement, you can try a measure with following expression:

 

SLA % =
CALCULATE ( COUNT ( SLA[SLA] ), FILTER ( SLA, SLA[SLA] = "Breached" ) )
    / CALCULATE ( COUNT ( SLA[SLA] ), FILTER ( SLA, SLA[SLA] <> "No Target" ) )

2.PNG

 

Thanks,
Xi Jin.

View solution in original post

2 REPLIES 2
v-xjiin-msft
Solution Sage
Solution Sage

Hi @Anonymous,

 

To achieve your requirement, you can try a measure with following expression:

 

SLA % =
CALCULATE ( COUNT ( SLA[SLA] ), FILTER ( SLA, SLA[SLA] = "Breached" ) )
    / CALCULATE ( COUNT ( SLA[SLA] ), FILTER ( SLA, SLA[SLA] <> "No Target" ) )

2.PNG

 

Thanks,
Xi Jin.

Anonymous
Not applicable

My friend, is working. Thankfull.

 

Best Regards.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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