<?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 is not working count in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633430#M33127</link>
    <description>&lt;P&gt;I never heard of isinscope. Could you please write an example with column seller and store please&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2021 19:05:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-30T19:05:42Z</dc:date>
    <item>
      <title>Rankx is not working count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633406#M33124</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created the following measures, but what I get is not what I am expecting. I can fix the problem but changing the all function for&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALL('Reporte de incidencias'[Seller] ) the reason why I dont what this is since I would like to my top N by seller, store and so on so I'd rather not create a measure for each column. I have seen videos where they just type the table and it works just fine please help&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Count_inc = COUNTROWS('Reporte de incidencias')&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;rank = RANKX(ALL('Reporte de incidencias' ),[Count_inc],,DESC) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 30 Jan 2021 18:06:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633406#M33124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-30T18:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx is not working count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633428#M33126</link>
      <description>&lt;P&gt;Since you don't likely have a single row for each seller in that table, you will not get the expected behavior.&amp;nbsp; I think you will need separate measures for your different scenarios (when different columns in the table), or have them all as variables and choose from them with ISINSCOPE, etc..&amp;nbsp; If you will have those 3 columns, you can use ALL( ) with all 3 in it.&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 19:02:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633428#M33126</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-01-30T19:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx is not working count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633430#M33127</link>
      <description>&lt;P&gt;I never heard of isinscope. Could you please write an example with column seller and store please&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 19:05:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633430#M33127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-30T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rankx is not working count</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633433#M33129</link>
      <description>&lt;P&gt;I don't recommend that approach.&amp;nbsp; You would be writing mulitple variables each with a different RANKX expression.&amp;nbsp; Writing a Rankx measure for each scenario is simpler.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 19:12:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Rankx-is-not-working-count/m-p/1633433#M33129</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2021-01-30T19:12:45Z</dc:date>
    </item>
  </channel>
</rss>

