<?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 doubts understanding RANKX when used for a calculated column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3552169#M136675</link>
    <description>&lt;P&gt;assume a need to create calculated column in table Customer&lt;BR /&gt;we want a ranking of sales among customers belonging to a single country, in "a universe" of different countries; so we have a ranking made for different countries&lt;BR /&gt;the formulae edited is=&lt;BR /&gt;RANKX ( ALLEXCEPT (Customer, Customer[Country]), [measure sales] )&lt;BR /&gt;i am conscious there is an outer row context (automaticaly created just because we are creating a calc colum) and an inner row context (inside RankX; for building a virtual table of lookup values with the second argument: [measure sales] )....&lt;BR /&gt;can anybody please clearly explain what is the ALLEXCEPT function doing?&lt;BR /&gt;is it eliminating filter context for all the table except the Country?&lt;BR /&gt;or is it creating a table virtual witll all columns of table Customer except the column of Country?&lt;BR /&gt;how does the inner row context works? how does the outer row context works?&lt;BR /&gt;i have read and heard different opinions about AllExcept performance. Some people say that it is NOT creating a table (but it is eliminating filter sensitivity in all columns except the Country),&lt;BR /&gt;while others have stated that it does create a virtual table that does not have the (key field, i might add) Country column&lt;BR /&gt;if the latter is correct, for the vida of me ....i cannot fathom how is it possible for the RANKX to work...when the key field of Country is not present inside the virtual table&lt;BR /&gt;thanks to all and anyone who would like to share wonderful knowledge about these doubts o'mine&lt;BR /&gt;hope everyone is happy and safe. Best regards in advance&lt;/P&gt;</description>
    <pubDate>Sat, 25 Nov 2023 19:02:18 GMT</pubDate>
    <dc:creator>becha77</dc:creator>
    <dc:date>2023-11-25T19:02:18Z</dc:date>
    <item>
      <title>doubts understanding RANKX when used for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3552169#M136675</link>
      <description>&lt;P&gt;assume a need to create calculated column in table Customer&lt;BR /&gt;we want a ranking of sales among customers belonging to a single country, in "a universe" of different countries; so we have a ranking made for different countries&lt;BR /&gt;the formulae edited is=&lt;BR /&gt;RANKX ( ALLEXCEPT (Customer, Customer[Country]), [measure sales] )&lt;BR /&gt;i am conscious there is an outer row context (automaticaly created just because we are creating a calc colum) and an inner row context (inside RankX; for building a virtual table of lookup values with the second argument: [measure sales] )....&lt;BR /&gt;can anybody please clearly explain what is the ALLEXCEPT function doing?&lt;BR /&gt;is it eliminating filter context for all the table except the Country?&lt;BR /&gt;or is it creating a table virtual witll all columns of table Customer except the column of Country?&lt;BR /&gt;how does the inner row context works? how does the outer row context works?&lt;BR /&gt;i have read and heard different opinions about AllExcept performance. Some people say that it is NOT creating a table (but it is eliminating filter sensitivity in all columns except the Country),&lt;BR /&gt;while others have stated that it does create a virtual table that does not have the (key field, i might add) Country column&lt;BR /&gt;if the latter is correct, for the vida of me ....i cannot fathom how is it possible for the RANKX to work...when the key field of Country is not present inside the virtual table&lt;BR /&gt;thanks to all and anyone who would like to share wonderful knowledge about these doubts o'mine&lt;BR /&gt;hope everyone is happy and safe. Best regards in advance&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2023 19:02:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3552169#M136675</guid>
      <dc:creator>becha77</dc:creator>
      <dc:date>2023-11-25T19:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: doubts understanding RANKX when used for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3552206#M136678</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;A href="https://dax.guide/allexcept/" target="_blank" rel="noopener"&gt;https://dax.guide/allexcept/&lt;/A&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;When used as a table function, ALLEXCEPT materializes all the unique combinations of the columns in the table specified in the first argument that are not listed in the following arguments.&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 25 Nov 2023 20:59:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3552206#M136678</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2023-11-25T20:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: doubts understanding RANKX when used for a calculated column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3563595#M137372</link>
      <description>&lt;P&gt;Could anyone else please try to reply the specific inquiry?&lt;BR /&gt;i found the original reply helpful but shortcoming&lt;BR /&gt;thanks anyone, and i dont mean to sound pedantic or grateful. Happy last month of 2k23&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 18:26:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/doubts-understanding-RANKX-when-used-for-a-calculated-column/m-p/3563595#M137372</guid>
      <dc:creator>becha77</dc:creator>
      <dc:date>2023-12-01T18:26:20Z</dc:date>
    </item>
  </channel>
</rss>

