Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Case Report with Who Resolved The Case

$
0
0

I'm trying to create an SSRS report of cases that includes a column with who resolved the case.

This is causing an issue where the case was reopened and subsequantly resolved again because my fetchXML is giving me two rows.

Can I reconfigure my fetchXML to only show the last person who resolved the case, am I looking at this the wrong way, or do I need to create a sub-report that will run for each case in the main report?

<fetch distinct="true" >
  <entity name="incident" >
    <attribute name="title" />
    <attribute name="accountid" />
    <order attribute="title" descending="false" />
    <filter type="and" >
      <condition attribute="statecode" operator="eq" value="1" />
      <condition attribute="createdon" operator="on" value="2018-11-15" />
    </filter>
    <link-entity name="incidentresolution" from="incidentid" to="incidentid" link-type="outer" alias="ae" >
      <attribute name="modifiedby" />
    </link-entity>
  </entity>
</fetch>

Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>