Hi everyone,
I'm basing my question on an article on CRM Chart guy.
I have 4 entities : Ticket, Incident, Evolution, Project.
I'm trying to create a chart that shows the number of Tickets, Incident, Evolution according to the name of the Project.
There is a 1-N between Project and Tickets, Tickets and Incident, Tickets and Evolution.
I've created a chart in the entity Project, exported my solution and went sowly 'one bar at a time'.
I've only changed the datadefinition tag that became this :
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="tma_projet">
<attribute groupby="true" alias="NameProject" name="tma_name" />
<link-entity name="tma_ticket" from="tma_ticketid" to="tma_projetid" link-type="outer">
<attribute groupby="true" alias="NumberOfTickets" name="tma_name" aggregate="countcolumn" />
</link-entity>
<attribute alias="_CRMAutoGen_aggregate_column_Num_13" name="tma_name" aggregate="countcolumn" />
<attribute alias="_CRMAutoGen_aggregate_column_Num_14" name="tma_name" aggregate="countcolumn" />
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category alias="NameProject">
<measurecollection>
<measure alias="NumberOfTickets" />
</measurecollection>
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_13" />
</measurecollection>
<measurecollection>
<measure alias="_CRMAutoGen_aggregate_column_Num_14" />
</measurecollection>
</category>
</categorycollection>
</datadefinition>
</datadescription>
When importing the solution again, the system tells me there is an error, and that i should ask the Community ><...
Any idea what's wrong ?
(I'm using a on-premise 7.0 version of Microsoft Dynamics CRM 2015)