web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Case Report with Who Resolved The Case

(0) ShareShare
ReportReport
Posted on by 1,540

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>

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ChrisJC Profile Picture
    1,540 on at

    For anyone who comes across this, I was previously using the modifiedby of the incidentresolution which was different. It seems in closing the case for the second time, the owner of the first case resolution is assigned to the second user. In this instance using the ownerid and distinct as true resolved the issue

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans