Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

sum result of LookupSet without VB script

Posted on by 685

Hi Community,

Please suggest how can I sum the result of a LookupSet() in SSRS report without writing any VB script or custom code. Adding custom code gives an error while running report from CRM.

Thanks & Regards,

Hardik Chauhan

*This post is locked for comments

  • Suggested answer
    Muhammad Ainuddin Profile Picture
    Muhammad Ainuddin 106 on at
    sum result of LookupSet without VB script
    Somehow, we were unable to get the length from LookupSet, but we can try getting the length from Split. You can try using the following expression:

    =(Split(Join(LookupSet(Fields!new_casetype.Value, Fields!casetype.Value, Fields!incidentid.Value, "case"), ","), ",")).Length

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans