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

Issues with KPI for Case Load Trends

Hello all,

 

 I'm having some issues with getting the right data in my visualizaton. I have incident data that I am attempting to calculate the number of incidents per assigned analyst to those created or closed each day. 

 

 I'm also attempting to use a KPI which shows how many incidents met SLA (with a true/false) in a measured column (target_sla). I have two tables of data and a datetime table. The SLA is just a whole number of 7, which is not in the table anywhere but if the resolved_at is a number equal to or less than 7 then the value is true, else false.

 

My first uses the following:

 

avg_incidents = 
AVERAGEX(
KEEPFILTERS(VALUES('ServiceNow Incident Data'[assigned_to])),
CALCULATE(COUNTA('ServiceNow Incident Data'[number]))
)
 

Screen Shot 2020-01-08 at 2.10.01 PM.png

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The other KPI below it uses the following below. What to do? Any thoughts?
 
Screen Shot 2020-01-08 at 2.10.40 PM.png
4 REPLIES 4
v-lid-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can create a measure to meet your requirement:

 

avg_incidents = 
AVERAGEX(
KEEPFILTERS(VALUES('ServiceNow Incident Data'[assigned_to])),
CALCULATE(COUNTA('ServiceNow Incident Data'[number]),'ServiceNow Incident Data'[number]<=7)+0
)

 

8.jpg9.jpg

 


If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Could I use the KPI to trend this up or down instead of a card?

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous ,

 

Based on my test, it can work with the KPI visual,  If it doesn't meet your requirement, Please show the exact expected result based on the Tables that we have shared.

 

1.jpg2.jpg

 


Best regards,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.