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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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