<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Benchmark measure to compare lead quality of one sales rep with others who receive the same leads in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3421105#M129512</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;I want to create a measure that will help me to compare one sales rep results with others, based on the lead quality they work with.&lt;BR /&gt;&lt;STRONG&gt;The background:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each sales rep receives different leads, based on &lt;U&gt;3 parameters&lt;/U&gt;: lead value, lead category, lead type.&lt;/LI&gt;&lt;LI&gt;Throughout the time, the proportion may differ.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So&lt;STRONG&gt; step 1&lt;/STRONG&gt; will determine the lead quality combo per sales rep. I did it with &lt;STRONG&gt;TOPN&lt;/STRONG&gt; function for each parameter separately:&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Top1 Lead Potential per SaleRep&lt;/STRONG&gt;&lt;/EM&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;TOPN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;all&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'table1'&lt;/SPAN&gt;&lt;SPAN&gt;[Lead Potential]&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Counta&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'table'[&lt;/SPAN&gt;&lt;SPAN&gt;Lead Potential]&lt;/SPAN&gt;&lt;SPAN&gt;)),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;It returns string value, f.e. 'Medium' in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt; should be to calculate AVG number of leads per sales rep who have the same TOP1 Lead Potential, TOP1 lead category and TOP1 lead type.&lt;BR /&gt;&lt;BR /&gt;Any ideas how to proceed with step 2?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 08:15:38 GMT</pubDate>
    <dc:creator>AlenaSK</dc:creator>
    <dc:date>2023-09-08T08:15:38Z</dc:date>
    <item>
      <title>Benchmark measure to compare lead quality of one sales rep with others who receive the same leads</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3421105#M129512</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;I want to create a measure that will help me to compare one sales rep results with others, based on the lead quality they work with.&lt;BR /&gt;&lt;STRONG&gt;The background:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Each sales rep receives different leads, based on &lt;U&gt;3 parameters&lt;/U&gt;: lead value, lead category, lead type.&lt;/LI&gt;&lt;LI&gt;Throughout the time, the proportion may differ.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So&lt;STRONG&gt; step 1&lt;/STRONG&gt; will determine the lead quality combo per sales rep. I did it with &lt;STRONG&gt;TOPN&lt;/STRONG&gt; function for each parameter separately:&lt;BR /&gt;&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Top1 Lead Potential per SaleRep&lt;/STRONG&gt;&lt;/EM&gt; =&lt;/SPAN&gt; &lt;SPAN&gt;TOPN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;all&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'table1'&lt;/SPAN&gt;&lt;SPAN&gt;[Lead Potential]&lt;/SPAN&gt;&lt;SPAN&gt;),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Calculate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Counta&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'table'[&lt;/SPAN&gt;&lt;SPAN&gt;Lead Potential]&lt;/SPAN&gt;&lt;SPAN&gt;)),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DESC&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;It returns string value, f.e. 'Medium' in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 2&lt;/STRONG&gt; should be to calculate AVG number of leads per sales rep who have the same TOP1 Lead Potential, TOP1 lead category and TOP1 lead type.&lt;BR /&gt;&lt;BR /&gt;Any ideas how to proceed with step 2?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 08:15:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3421105#M129512</guid>
      <dc:creator>AlenaSK</dc:creator>
      <dc:date>2023-09-08T08:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Benchmark measure to compare lead quality of one sales rep with others who receive the same leads</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3423413#M129632</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="591850" data-lia-user-login="AlenaSK" class="lia-mention lia-mention-user"&gt;AlenaSK&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try this measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Avg Leads with Same Top1 Combo = 
CALCULATE(
    AVERAGEX(
        'table1',
        COUNTA('table1'[Lead])
    ),
    FILTER(
        ALL('table1'[SalesRep]),
        'table1'[Top1 Lead Potential] = MAX('table1'[Top1 Lead Potential]) &amp;amp;&amp;amp;
        'table1'[Top1 Lead Category] = MAX('table1'[Top1 Lead Category]) &amp;amp;&amp;amp;
        'table1'[Top1 Lead Type] = MAX('table1'[Top1 Lead Type])
    )
)&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 02:30:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3423413#M129632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-11T02:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Benchmark measure to compare lead quality of one sales rep with others who receive the same leads</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3429008#M129978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;Thank you so much for your suggestion! I'll give it a try!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 16:00:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Benchmark-measure-to-compare-lead-quality-of-one-sales-rep-with/m-p/3429008#M129978</guid>
      <dc:creator>AlenaSK</dc:creator>
      <dc:date>2023-09-13T16:00:05Z</dc:date>
    </item>
  </channel>
</rss>

