I'm editing a StackedBar chart with XML forcing it show all departments instead of the out of the box chart only showing it when there's a record found.
I have about 14 departments all with a filter like this in the XML:
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Accountmanagement" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650000" operator="eq" />
</filter>
</link-entity> Once I try to add the 11th one and import it, the import throws the error that the XML is invalid. Removing the 11th line fixes it.
It makes me wonder is there a limit to how many link-entities I can add to an XML ?
Full XML here:
<visualization>
<visualizationid>{3513DD02-F317-E811-8123-E0071B6E1431}</visualizationid>
<name>Klachten per dag per afdeling (laatste 5 werkdagen)</name>
<primaryentitytypecode>incident</primaryentitytypecode>
<datadescription>
<datadefinition>
<fetchcollection>
<fetch mapping="logical" aggregate="true">
<entity name="incident">
<attribute groupby="true" alias="gemaaktop" name="createdon" dategrouping="day" />
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Overige" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="717790000" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="FreelanceZZP" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="717790001" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Accountmanagement" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650000" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Boekhouding" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650001" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Contractadministratie" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650002" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Debiteurenbeheer" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650003" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Salarisadministratie" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650006" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Support" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650009" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Urenadministratie" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650010" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="Verzuim" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650011" operator="eq" />
</filter>
</link-entity>
<link-entity name="incident" from="incidentid" to="incidentid" link-type="outer">
<attribute alias="InterneControle_Kwaliteit" name="qss_afdelingprs" aggregate="countcolumn" />
<filter>
<condition attribute="qss_afdelingprs" value="865650004" operator="eq" />
</filter>
</link-entity>
<attribute alias="MarketingCommunicatie" name="qss_afdelingprs" aggregate="count" />
<attribute alias="loldesk" name="qss_afdelingprs" aggregate="countcolumn" />
<attribute alias="prssales" name="qss_afdelingprs" aggregate="count" />
</entity>
</fetch>
</fetchcollection>
<categorycollection>
<category alias="gemaaktop">
<measurecollection>
<measure alias="Overige" />
</measurecollection>
<measurecollection>
<measure alias="FreelanceZZP" />
</measurecollection>
<measurecollection>
<measure alias="Accountmanagement" />
</measurecollection>
<measurecollection>
<measure alias="Boekhouding" />
</measurecollection>
<measurecollection>
<measure alias="Contractadministratie" />
</measurecollection>
<measurecollection>
<measure alias="Debiteurenbeheer" />
</measurecollection>
<measurecollection>
<measure alias="InterneControle_Kwaliteit" />
</measurecollection>
<measurecollection>
<measure alias="MarketingCommunicatie" />
</measurecollection>
<measurecollection>
<measure alias="Salarisadministratie" />
</measurecollection>
<measurecollection>
<measure alias="prssales" />
</measurecollection>
<measurecollection>
<measure alias="loldesk" />
</measurecollection>
<measurecollection>
<measure alias="Support" />
</measurecollection>
<measurecollection>
<measure alias="Urenadministratie" />
</measurecollection>
<measurecollection>
<measure alias="Verzuim" />
</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" LegendText="Overige" Color="Red" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Freelance/ZZP" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Accountmanagement" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Boekhouding" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Contractadministratie" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Debiteurenbeheer" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Interne Controle en Kwaliteit" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Marketing en Communicatie" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Salarisadministratie" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Sales" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Servicedesk" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Support" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Urenadministratie" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
<Series ChartType="StackedBar" LegendText="Verzuim" Color="LightsteelBlue" IsValueShownAsLabel="True" LabelFormat="#,0;(#,0);''" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40" />
</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>
<AxisY2 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" />
</AxisY2>
</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>






