I am fairly new to Dynamics CRM and am attempting to create a quota burnup chart that shows the total amount of quota (sum of all violation costs) completed over a given stretch of time. Using the following code, I am able to show amount of quota completed on each specific date, but am having trouble doing an overall day-over-day sum:
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="new_citation">
<attribute name="new_timestamp" groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" dategrouping="month" />
<link-entity name="new_new_citation_new_violation" from="new_citationid" to="new_citationid" visible="false" intersect="true">
<link-entity name="new_violation" from="new_violationid" to="new_violationid" alias="ad">
<attribute name="new_cost" aggregate="sum" alias="violationCost"/>
</link-entity>
</link-entity>
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category>
<measurecollection>
<measure alias="violationCost" />
</measurecollection>
</category>
</categorycollection>
</datadefinition>
</datadescription>
Any help or referenes greatly appreciated.