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 2 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
The entity contact is only taken as an example.
I would like to know if it is possible to execute the query in some way so that only those records are obtained on which specified field has changed today.
For example, show me all contacts records on which field Company changed value today. Using advanced find I can only find records that have been modified today but I need to look for changes per specific field.
I'm afraid that is not doable using Advanced Find/FetchXml.
Is there some way to make this kind of query? I would need it for reporting purposes. The organization is on premise.
In case you're onprem there is a way.
1. Enable Audit for Contact's Company field.
2. Use SQL queries against Audit tables to grab information that you need.
I'm afraid there is no easier way.
In that case I would have to change Embedded Connection Type from Microsoft Dynamics 365 Fetch to Microsoft SQL Server?There isn't any why I can keep Connection as Fetch XML for whole report and only perform SQL query to create one dataset in order to get the data needed for the report?
Answering your question - it would not be possible to use FetchXml and SQL - you will have to choose one or another.
I have an alternative but that would require small configuration and will not update your historical data. Here is what you can do:
1. Create a field of datetime type on "Contact" entity and call it "Company Last Change Date".
2. Add a workflow that will handle "Update" of "Company" field of "Contact" and populate your new field with current datetime.
After that you can use that field the way you want in Advanced Find/Reports.
Thank you for your answer. That solution with additional field is exactly what I currently use, but there are many fields so I wondered if there is a more elegant solution.I used to create reports through fetch xml, somehow it is my prefered option. I was hoping that somehow I could access that historical data through fetch xml as well.
I'm afraid there is no way to access audit data from FetchXml-based reports.
Business Applications communities