Hi , I am made stacked bar chart with lead count, i got result as following image1, but i need total count i.e adding of stacked column values as image2 below is my chart xml.
<visualization>
<visualizationid>{BFF4C05F-A46D-E611-80CE-005056B50C4E}</visualizationid>
<name>User, User ... by User-Copy(3)-Copy(3)-Copy(2)-Copy(1)-Copy(1)</name>
<primaryentitytypecode>systemuser</primaryentitytypecode>
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="systemuser">
<attribute name="businessunitid" groupby="true" alias="User" />
<link-entity name="lead" from="owninguser" to="systemuserid" link-type="outer">
<link-entity name="lead" from="leadid" to="leadid" link-type="outer">
<attribute alias="OpenLeads" name="leadid" aggregate="count" distinct="true" />
</link-entity>
</link-entity>
<attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_17" name="fullname" />
<filter type="and">
<condition attribute="createdon" operator="this-year" />
<condition attribute="businessunitid" operator="ne" uiname="CMSB" uitype="businessunit" value="{B8AFFDE7-5B3E-E611-80BC-005056B50C4E}" />
</filter>
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category alias="User">
<measurecollection>
<measure alias="OpenLeads" />
</measurecollection>
</category>
</categorycollection>
</datadefinition>
</datadescription>
<presentationdescription>
<Chart Palette="None" PaletteCustomColors="91,151,213; 237,125,49; 160,116,166; 255,192,0; 68,114,196; 112,173,71; 37,94,145; 158,72,14; 117,55,125; 153,115,0; 38,68,120; 67,104,43; 124,175,221; 241,151,90; 186,144,192; 255,205,51; 105,142,208; 140,193,104; 50,125,194; 210,96,18; 150,83,159; 204,154,0; 51,90,161; 90,138,57;">
<Series>
<Series ChartType="StackedBar" Font="{0}, 9.5px" IsValueShownAsLabel="True" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40">
<SmartLabelStyle Enabled="True" />
</Series>
</Series>
<ChartAreas>
<ChartArea BorderColor="White" BorderDashStyle="Solid">
<AxisY LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IntervalAutoMode="VariableCount">
<MajorGrid LineColor="239, 242, 246" />
<MajorTickMark LineColor="165, 172, 181" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisY>
<AxisX LabelAutoFitMinFontSize="8" TitleForeColor="59, 59, 59" TitleFont="{0}, 10.5px" LineColor="165, 172, 181" IntervalAutoMode="VariableCount">
<MajorTickMark LineColor="165, 172, 181" />
<MajorGrid LineColor="Transparent" />
<LabelStyle Font="{0}, 10.5px" ForeColor="59, 59, 59" />
</AxisX>
</ChartArea>
</ChartAreas>
<Titles>
<Title Alignment="TopLeft" DockingOffset="-3" Font="{0}, 13px" ForeColor="59, 59, 59"></Title>
</Titles>
<Legends>
<Legend Alignment="Center" LegendStyle="Table" Docking="right" IsEquallySpacedItems="True" Font="{0}, 11px" ShadowColor="0, 0, 0, 0" ForeColor="59, 59, 59" />
</Legends>
</Chart>
</presentationdescription>
<isdefault>false</isdefault>
</visualization>
Image 1