Announcements
No record found.
Please help..
*This post is locked for comments
Hi Sourabh,
The main difference is that fetchXML support aggregation whether query expression does not support aggregation. Secondly we will use Query expression when our query is complex and its server side coding , where as fetch XML is easy to build and easy to use and you can write both server side and client side as well.
Hope this helps.
Thanks goutam.
a bit confusion is as per below link, I think we can use aggregation in query expression.
docs.microsoft.com/.../query-expression-syntax-examples-aggregate-operators
Please correct me if i am wrong.
docs.microsoft.com/.../query-execution
This is not CRM query expression , its a linq in .NET , I understand its confusing but normally query expression does no have any properties to make aggregation.
Check the Query expression properties here in below url.
msdn.microsoft.com/.../gg334688.aspx
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.