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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ebelange
New Member

Percentage calculation of tickets which have escalated for a specific time frame

Hi Everyone, 

 

I apologize, i'm fairly new to PowerBI and I'm setting my KPIs for an IT department that i manage. One of our KPI shows the percentage of tickets that were closed under the SLA period. 

 

What i'd like to display is a bar graph which shows the percentage for each month.

 

I have a field which tells me when a ticket was esacalated  (1 = escalated and 0 = not escalated) so all i need to figure out is how to create my graph to show me the wanted outcome.

 

% of TotalTickets Closed under SLA = (Sum of Totaltickets - sum of escalated tickets) / Sum of Totaltickets * 100

 

And I'll need to display these by month.

 

Is this doable?

2 REPLIES 2
amitchandak
Super User
Super User

@ebelange , Try measures like (Three measures)

 

Total Tickets = calculate(count(Table[Ticket]))
Escalated Tickets = calculate(count(Table[Ticket]), filter(Table,table[escalated]=1))

 

% of TotalTickets Closed under SLA = divide([Total Tickets] - [Escalated Tickets],[Total Tickets]) // You can mark at % column , no need multiply by 100

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@ebelange - Should be along the lines of:

Measure =
  VAR __AllMonth = COUNTROWS(ALLSELECTED('Table'))
  VAR __CurrentMonth = COUNTROWS(FILTER(ALLSELECTED('Table'),[Column]=1))
RETURN
  (__AllMonth - __CurrentMonth) / __AllMonth * 100

Probably don't need the 100 if you use the % display format. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.