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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Need Calculation help.

I have an odd SLA calculation I am trying to build and it just doesn't seem to work.

 

I have a Completion Percentage. 

Example:

Job 1 uses 5 of 10 allotted days.  It therefore meets SLA.

Job 2 uses 11 of 10 alloted days.  It therefore fails to meet SLA

Job 3 uses 12 of 10 alloted days.  It therefore fails to meet SLA

Job 4 used uses 11 of 10 alloted days.  It therefore fails to meet SLA

Of the 4 jobs, the MEETS SLA percentage is 25%

 

The calculation I have been asked to provide is an Under Aggregate percentage.

Of the 4 jobs, the total alloted days is 40.  The total days used is 39 of 97.5% of the alloted days.

100% of Aggregated Allocation days is 40, so I need a calculation that is 100% - 97.5% and the result show as 2.5% Under Aggregate.

 

I have tried:

Sum of Days to Complete divided by Sum of Allocation SLA Days =
DIVIDE(1-
SUM('TABLENAME'[Days to Complete]),
SUM('TABLENAME'[ALLOCATION SLA Days]))

 

But it isn't coming out correctly.  I know I am missing a SUBTRACTION function, I am just not sure how to write it.

 

Any assistance would be much appreciated.

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous I guess you need this:

 

1-
DIVIDE(
   SUM('TABLENAME'[Days to Complete]),
   SUM('TABLENAME'[ALLOCATION SLA Days])
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
parry2k
Super User
Super User

@Anonymous I guess you need this:

 

1-
DIVIDE(
   SUM('TABLENAME'[Days to Complete]),
   SUM('TABLENAME'[ALLOCATION SLA Days])
)


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Thank you. Yes, that is what I was looking for.  Moving the -1 to before the DIVIDE function.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.