筛选CRM动态图表

时间:2018-08-24 07:29:39

标签: charts dynamics-crm-2011

我目前有一张来自Dynamics CRM 2011的图表,其XML如下所示。该图是一个条形图,其中包含电位($)的总和和电位的计数。但是我想过滤一下sick_potential计数,使其仅包括值超过5的sick_potential,而sick_overallpotential的值也相同。我尝试使用“过滤器”功能没有成功。

有帮助吗?

<visualization>
  <visualizationid>{6DFFC43C-AEA5-E811-9FCD-0050568D5882}</visualizationid>
  <name>1. All Potential by Country-Copy(1)</name>
  <primaryentitytypecode>account</primaryentitytypecode>
  <datadescription>
    <datadefinition>
      <fetchcollection>
        <fetch mapping="logical" aggregate="true">
          <entity name="account">
            <attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="sick_countryid" />
            <attribute alias="_CRMAutoGen_aggregate_column_Num_0" name="sick_overallpotential" aggregate="sum" />
            <attribute alias="_CRMAutoGen_aggregate_column_Num_14" name="sick_overallpotential" aggregate="countcolumn" /> 
            <attribute alias="_CRMAutoGen_aggregate_column_Num_16" name="sick_potential" aggregate="sum" />
            <attribute alias="_CRMAutoGen_aggregate_column_Num_15" name="sick_potential" aggregate="countcolumn" />
          </entity>
        </fetch>
      </fetchcollection>
      <categorycollection>
        <category alias="_CRMAutoGen_groupby_column_Num_0">
          <measurecollection>
            <measure alias="_CRMAutoGen_aggregate_column_Num_0" />
          </measurecollection>
          <measurecollection>
            <measure alias="_CRMAutoGen_aggregate_column_Num_14" />
          </measurecollection>
          <measurecollection>
            <measure alias="_CRMAutoGen_aggregate_column_Num_16" />
          </measurecollection>
          <measurecollection>
            <measure alias="_CRMAutoGen_aggregate_column_Num_15" />
          </measurecollection>
        </category>
      </categorycollection>
    </datadefinition>
  </datadescription>
  <presentationdescription>
    <Chart Palette="None" PaletteCustomColors="55,118,193; 197,56,52; 149,189,66; 117,82,160; 49,171,204; 255,136,35; 97,142,206; 209,98,96; 168,203,104; 142,116,178; 93,186,215; 255,155,83">
      <Series>
        <Series ChartType="Column" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></Series> 
        <Series ChartType="Column" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></Series>
        <Series ChartType="Column" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></Series>
        <Series ChartType="Column" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></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>
          <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>

0 个答案:

没有答案