Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

Stacked Column chart multiple conditions in Fetch XML failing

$
0
0

Hi 

I want to show data in Stacked columns how many items consumed ( Less than equal to 10 , greater than 10),  per office, Per month wise. Because it is not possible(cluttered ... ) to show per office, per month,in chart, so created view  for all  all office data. But in chart, I want to create chart per office with multiple condition, like below. Some how CRM solution import fails with multiple filter conditions.

 I can create multiple view per each office, but is there any way I can achieve with chart by applying multiple conditions in filter like below code.

<entity name="new_office">
<attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="new_dateconsumed" dategrouping="month" />
<link-entity name="new_office" from="new_officeid" to="new_officeid" link-type="outer">
<attribute alias="LessThanOrEqual10" name="new_itemsconsumed" aggregate="countcolumn" />
<filter type="and">
<condition attribute="new_itemsconsumed" operator="le" value="10" />
<condition attribute="new_office" operator="like" value="east" />
</filter>
</link-entity>
<link-entity name="new_office" from="new_officeid" to="new_officeid" link-type="outer">
<attribute alias="GreaterThan10" name="new_itemsconsumed" aggregate="countcolumn" />
<filter type="and">
<condition attribute="new_itemsconsumed" operator="gt" value="10" />
<condition attribute="new_office" operator="like" value="east" />
</filter>
</link-entity>
</entity>


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>