Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Handle Fetch XML result data in CRM Report

Posted on by Microsoft Employee

Hi all. 
   I have one main dataset by 1 entity and use prefiltering on it. Also I have 3 "child" datasets which take ids of needed records from main dataset through Report Parameter. So, this parameter allows multiple values and can not allow null. So in case when user check specific filters for fetch xml query which don't return any values, report throw error like this "the expected parameter has not been supplied for this report". 
     Is it possible to return some default value from fetch xml query in case we don't have any records by specific filters? Or maybe you could propose some other possible solutions. Please fill free to ask additional information which needed.

*This post is locked for comments

  • Suggested answer
    innovativeaj Profile Picture
    innovativeaj 175 on at
    RE: Handle Fetch XML result data in CRM Report

    Hi Rostyslav, you can add a Default Value in your Report Parameter pProperties. Here's a screenshot that might help

    defaultvalue.PNG

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans