I am new to Fetchxml and using MS CRM Dynamics 2015 On Premise to create SSRS report using Visual Studio 2012
My Fetchxml query returns me a Datetime column (CreatedOn)
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="fax">
<attribute name="createdon" />
<attribute name="documenttype" />
<attribute name="activityid" />
<attribute name="statecode" />
<order attribute="createdon" descending="false" />
</entity>
</fetch>
I want to group with Date (not with datetime).
Tried to do formatting by using
=Format(createdonValue.value, "dd/MM/yyyy")
and
=FormatDateTime(createdonValue.value, DateFormat.ShortDate)
It's formatting, but grouping doesn't work. Records repeats.
Please let me know is there any way to group by only with 'Date' part of 'FetchXML resulted date value' or is there anyway to get only 'date' part while querying with fetchxml.( e.g. in another column.)