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)

How the count of Open/Closed Tasks or Open/Closed Sub Cases.

(0) ShareShare
ReportReport
Posted on by 9

I have two requirements,

1. "2 of 3 Tasks Closed"

2. "3 of 4 Sub Cases Closed"

I assume I need to do some kind of roll up field, but I have had no luck even getting the total count, then to format it as I showed above I want would need a custom field that concatenates the data in with the metrics? Here is what I tried to to get the total count, it has not calculated right but I am not sure if I need the hierarchy field to do it right?

2017_2D00_04_2D00_25_5F00_16_2D00_40_2D00_33.png

*This post is locked for comments

  • Suggested answer
    ashlega Profile Picture
    34,477 on at

    Hi Wal,

      I'm pretty sure you need to filter related entities over the "Parent Case" field (not existing case):

    rp.PNG

      As for the formatting - you should probably just have 2 rollup fields instead (total and closed). I don't think formatting is possible in the rollup fields, and, since you can't start a workflow..

      In theory, you could add javascript to format them on the form when the form opens, but, then, they won't be formatted in the views till the form opens, so..

  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi Weldarb,

    You could create the following rollup fields.

     1. For getting the count of open tasks.

    6204.4.PNG

     2. For getting the count of closed tasks.

    6685.2.PNG

     3. For getting the count of open subcases.

    4137.3.PNG

     4. For getting the count of closed subcases.

    6204.4.PNG

    Hope this helps.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans