<?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 Re: RankX not correct with measure for average sales in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185374#M18601</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have it figured out. I am pulling head count from an employee table and order values from an order table for the average. I had to change the relationship on my tables to filter both. Previously the employee table was filtering the order table.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 14:37:06 GMT</pubDate>
    <dc:creator>Dhutch909</dc:creator>
    <dc:date>2020-06-26T14:37:06Z</dc:date>
    <item>
      <title>RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183562#M18551</link>
      <description>&lt;P&gt;I am trying to RankX the regional manager of each team; however, manager have different size teams and hence higher sales. What I am trying to do is average out their sales / headcount and rank that; however, I am running into several spots when filtering by the month that some of the rankings are out of order, see pics. Any help is much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 23:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183562#M18551</guid>
      <dc:creator>Dhutch909</dc:creator>
      <dc:date>2020-06-25T23:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183764#M18559</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236635" data-lia-user-login="Dhutch909" class="lia-mention lia-mention-user"&gt;Dhutch909&lt;/a&gt; , I can see a change in measure calculation when it has been used in Rank. Measure Rank is sensitive to context.Please use exact same measure at both places and check &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also For Rank Refer these links&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale" target="_blank"&gt;https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 02:24:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183764#M18559</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-06-26T02:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183991#M18567</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="236635" data-lia-user-login="Dhutch909" class="lia-mention lia-mention-user"&gt;Dhutch909&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RANK =
RANKX (
    ALLSELECTED ( 'Service Territory'[Regional Manager] ),
    [Reg-Order Average]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 05:06:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1183991#M18567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-26T05:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185067#M18587</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp; This resuts in The end of the inpt was reached, error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 14:11:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185067#M18587</guid>
      <dc:creator>Dhutch909</dc:creator>
      <dc:date>2020-06-26T14:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185306#M18598</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; I am not 100% sure what you mean? The Reg - Order Average uses the number of employees for each manager to get an average and then the Rankx compares the managers averages against each other. Is something wrong with that?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 14:13:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185306#M18598</guid>
      <dc:creator>Dhutch909</dc:creator>
      <dc:date>2020-06-26T14:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: RankX not correct with measure for average sales</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185374#M18601</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have it figured out. I am pulling head count from an employee table and order values from an order table for the average. I had to change the relationship on my tables to filter both. Previously the employee table was filtering the order table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 14:37:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RankX-not-correct-with-measure-for-average-sales/m-p/1185374#M18601</guid>
      <dc:creator>Dhutch909</dc:creator>
      <dc:date>2020-06-26T14:37:06Z</dc:date>
    </item>
  </channel>
</rss>

