Hi,
I am creating a report for MS CRM 2011 Online and are using Fetch XML to create dataset's. I would like to combine two dataset's to create a chart with the values.
I have read something regarding Merge for datasets but dont understand it. The entities are not related in CRM if it matter.
Can someone please help me .
Dataset 1
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="new_budget">
<attribute name="new_budgetar" />
<attribute name="new_budget_totalt" />
<attribute name="new_budgetid" />
<attribute name="new_budget_09" />
<attribute name="ownerid" />
<attribute name="new_budget_10" />
<attribute name="new_budget_11" />
<attribute name="new_budget_05" />
<attribute name="new_budget_03" />
<attribute name="new_budget_06" />
<attribute name="new_budget_07" />
<attribute name="new_budget_01" />
<attribute name="new_budget_02" />
<attribute name="new_budget_12" />
<attribute name="new_budget_08" />
<attribute name="new_budget_04" />
<attribute name="new_accountid" />
<order attribute="new_budgetar" descending="false" />
<filter type="and">
<condition attribute="statecode" operator="eq" value="0" />
</filter>
</entity>
</fetch>
Dataset 2
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="zync_salesstatistics">
<attribute name="zync_salesstatisticsid" />
<attribute name="zync_year" />
<attribute name="zync_total" />
<attribute name="zync_september" />
<attribute name="ownerid" />
<attribute name="zync_october" />
<attribute name="zync_november" />
<attribute name="zync_may" />
<attribute name="zync_march" />
<attribute name="zync_june" />
<attribute name="zync_july" />
<attribute name="zync_january" />
<attribute name="zync_february" />
<attribute name="zync_december" />
<attribute name="zync_august" />
<attribute name="zync_april" />
<attribute name="zync_account" />
<order attribute="zync_year" descending="false" />
<filter type="and">
<condition attribute="statecode" operator="eq" value="0" />
</filter>
</entity>
</fetch>