<?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 skipping number even when values are different in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4106790#M162969</link>
    <description>&lt;P&gt;Update, I'm stupid, realised there was a global filter that affected the ranking, which I didn't think would affect...&amp;nbsp;&lt;/P&gt;&lt;P&gt;So incorportated that into the rank and now it's correct&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 11:53:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-19T11:53:32Z</dc:date>
    <item>
      <title>RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104007#M162851</link>
      <description>&lt;P&gt;I have an issue where I've created a RANKX measure that at seemingly random skips a number/rank even though the measure/value that it's ranking on is different.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The base value/measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Avg A= AVERAGE(v_Sales[A]) / 1000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rank measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Rank_ValueA = 
RANKX(
    FILTER(
        ALLEXCEPT('v_Stores', dimMarket[Market]),
        [Avg A] &amp;gt; 0
    ),
    [Avg A],
    ,
    ,
    Dense
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Since I have different markets I want to rank within that market, which is why I have the "ALLEXCEPT"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example of where it goes wrong, 47 is missing (first column is ID)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another example, 60 is missing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;On the table I have a filter for that market and a datefilet&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 11:25:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104007#M162851</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-16T11:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104173#M162860</link>
      <description>&lt;P&gt;What is&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;ALLEXCEPT('v_Stores', dimMarket[Market])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;supposed to accomplish?&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Aug 2024 12:24:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104173#M162860</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-16T12:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104196#M162864</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So that it ranks per market and not the total, at least that's the plan&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 12:42:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104196#M162864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-16T12:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104204#M162865</link>
      <description>&lt;P&gt;You'd need to summarize rather than filter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 12:42:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104204#M162865</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-16T12:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104366#M162874</link>
      <description>&lt;P&gt;Here's an excel I hope is adequate&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.transfernow.net/dl/20240816h0BBgLOA" target="_blank"&gt;https://www.transfernow.net/dl/20240816h0BBgLOA&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 14:26:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104366#M162874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-16T14:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104681#M162889</link>
      <description>&lt;P&gt;That Excel file only has Store No. and Value columns.&amp;nbsp; Seems to be missing the Market column?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 16:48:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4104681#M162889</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-16T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4106334#M162952</link>
      <description>&lt;P&gt;Oh, yeah for this example they're all in the same market. Since I want to have separate matrixes for all markets and rank per market&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 07:21:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4106334#M162952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T07:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX skipping number even when values are different</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4106790#M162969</link>
      <description>&lt;P&gt;Update, I'm stupid, realised there was a global filter that affected the ranking, which I didn't think would affect...&amp;nbsp;&lt;/P&gt;&lt;P&gt;So incorportated that into the rank and now it's correct&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 11:53:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/RANKX-skipping-number-even-when-values-are-different/m-p/4106790#M162969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T11:53:32Z</dc:date>
    </item>
  </channel>
</rss>

