Hi-
A join on Case and Resolve KPI where KPI status is non complaint can return missed SLA.
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="incident">
<attribute name="title" />
<order attribute="title" descending="false" />
<link-entity name="slakpiinstance" from="slakpiinstanceid" to="resolvebykpiid" alias="aa">
<attribute name="warningtimereached" />
<attribute name="warningtime" />
<attribute name="succeededon" />
<attribute name="status" />
<attribute name="regarding" />
<attribute name="ownerid" />
<attribute name="name" />
<attribute name="modifiedon" />
<attribute name="modifiedonbehalfby" />
<attribute name="modifiedby" />
<attribute name="failuretime" />
<attribute name="exchangerate" />
<attribute name="description" />
<attribute name="transactioncurrencyid" />
<attribute name="createdon" />
<attribute name="createdonbehalfby" />
<attribute name="createdby" />
<attribute name="computedwarningtime" />
<attribute name="computedfailuretime" />
<filter type="and">
<condition attribute="status" operator="eq" value="1" />
</filter>
</link-entity>
</entity>
</fetch>
Best Regards,
Abhishek