Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: Report for win/loss of opportunities/leads

$
0
0

I was trying to do a simple table such as in the "Lead Source Effectiveness" report showing a % for each MRH Owner.  Is that possible?

I did try to build out the other report as you suggested but I can't seem to get the filters to work in the XML Which I assume I will also need for the new report.  Can you spot my error?  Thanks!  Here is the report code:

<visualization>

 <visualizationid>{EE99C7D8-98DA-E211-8CF1-78E3B511B601}</visualizationid>

 <name>MRH Closing Percentages3</name>

 <primaryentitytypecode>opportunity</primaryentitytypecode>

 <datadescription>

   <datadefinition>

     <fetchcollection>

       <fetch mapping="logical" aggregate="true">

         <entity name="opportunity">

           <link-entity name="lead" from="leadid" to="originatingleadid" link-type="outer">

             <attribute groupby="true" alias="MRH_Owner" name="new_mrhowner" />

           </link-entity>

           <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">

              <attribute alias="Won" name="statecode" aggregate="count" />

                <filter>

                  <condition attribute="stepname" operator="eq" value="Won" />

                </filter>

           </link-entity>

           <link-entity name="opportunity" from="opportunityid" to="opportunityid" link-type="outer">

              <attribute alias="Lost" name="statecode" aggregate="count" />

                <filter>

                  <condition attribute="stepname" operator="eq" value="Lost" />

                </filter>

           </link-entity>

         </entity>

       </fetch>

     </fetchcollection>

     <categorycollection>

       <category alias="MRH_Owner">

         <measurecollection>

           <measure alias="Won" />

         </measurecollection>

         <measurecollection>

           <measure alias="Lost" />

         </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="StackedColumn" IsValueShownAsLabel="True" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" CustomProperties="PointWidth=0.75, MaxPixelPointWidth=40"></Series>

       <Series ChartType="StackedColumn" 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>


Viewing all articles
Browse latest Browse all 123975

Trending Articles



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