The views and opinions expressed in this blog are those solely of the author(s) and do not necessarily reflect Microsoft’s current policy, position, or branding. For official announcements and guidance on Dynamics 365 apps and services, please visit the Microsoft Dynamics 365 Blog.
Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I come across a requirement to implement a Report for Online CRM. There are 4 Parameters like “Lead Source”, “Industry”, “State” and “PostalCode”.
Lead Source and Industry are Option sets – So, I have created as “Multi select” parameters and used “IN” condition inside Data set. No issues here.
“State” and “PostalCode” – These are String fields. I have created as Parameters by allowing NULL values. But, if I include these attribute conditions in Filter, Fetch XML returning 0 records while running report if User does not select any value because there is no way to Ignore the Fetch XML condition if Parameter does not contains value. [If SQL SSRS Report, we could have write a Data Set query conditions based by Parameter value].
1. Removed the condition for “State” and “PostalCode” attributes from Fetch XML
2. Added filter at “Tablix” level.
3. Right click on “Tablix” – select “Tablix Properties”
4. Go to “Filters” – Click “Add”
5. Select the field “State” under “Expression”, Operator as “=”
6. Write Expression for Value as “IF State Parameter has Value, Consider Parameter Value ELSE consider State Value”. [By this, Tablix shows records based on Parameter selection. If no selection returns all values].
Hope this helps someone
Business Applications communities