Label issue in CRM 2011 Chart RRS feed

  • Question

  • I have this chart in CRM 2011 using the following Fetchxml:

    <fetch mapping="logical" aggregate="true">
                      <entity name="account">
                        <attribute groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" name="new_respondby" dategrouping="week" />
                        <attribute alias="_CRMAutoGen_aggregate_column_Num_0" name="accountid" aggregate="count" />
                        <filter type="and">
                          <filter type="or">
                            <condition attribute="new_respondby" operator="next-x-weeks" value="2" />
                            <condition attribute="new_respondby" operator="next-x-days" value="2" />
                            <condition attribute="new_respondby" operator="next-week" />
                            <condition attribute="new_respondby" operator="tomorrow" />
                        <link-entity name="account" from="accountid" to="accountid" link-type="outer">
                          <attribute alias="monthsDate" name="new_respondby" groupby="true" dategrouping="month" />

    The Serie in the customization.xml:

    <Series ChartType="Stackedcolumn" IsVisibleInLegend="True" Label="Next #INDEX Week" Color="LightSteelBlue" IsValueShownAsLabel="false" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></Series>

    Is there a way to write in the Label "This Week" instead of "Next 0 Week" if the #INDEX = 0?

    • Edited by Leandro86 Monday, December 23, 2013 5:17 PM
    Monday, December 23, 2013 3:20 PM

All replies