<?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: Exclude Users from Ranking RANKX in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840370#M90752</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;I hope the below can provide some ideas on how to create a solution for your datamodel.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected rank measure: =
IF (
    SELECTEDVALUE ( System_Users[Account] ) IN { "A001", "A002", "A003" },
    "-",
    RANKX (
        FILTER (
            ALL ( System_Users ),
            NOT ( System_Users[Account] IN { "A001", "A002", "A003" } )
        ),
        [Value measure:]
    )
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 13 Oct 2022 18:20:02 GMT</pubDate>
    <dc:creator>Jihwan_Kim</dc:creator>
    <dc:date>2022-10-13T18:20:02Z</dc:date>
    <item>
      <title>Exclude Users from Ranking RANKX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840331#M90750</link>
      <description>&lt;P&gt;Jolly Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am needing to exclude three users from being included in the ranking. What I currently have just inserts a dash where there ranking number would be and are still being ranked. Could someone help me with a measure to completely exclude them?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Entry Rank = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt; (System_Users[Account]) &lt;/SPAN&gt;&lt;SPAN&gt;IN&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;SPAN&gt;"cbelcher"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"pkessell"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"kcole"&lt;/SPAN&gt;&lt;SPAN&gt;}, &lt;/SPAN&gt;&lt;SPAN&gt;"-"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RANKX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;(System_Users),Audit[Sum Entry])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:03:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840331#M90750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Users from Ranking RANKX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840370#M90752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tried to create a sample pbix file like below.&lt;/P&gt;
&lt;P&gt;I hope the below can provide some ideas on how to create a solution for your datamodel.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Expected rank measure: =
IF (
    SELECTEDVALUE ( System_Users[Account] ) IN { "A001", "A002", "A003" },
    "-",
    RANKX (
        FILTER (
            ALL ( System_Users ),
            NOT ( System_Users[Account] IN { "A001", "A002", "A003" } )
        ),
        [Value measure:]
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:20:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840370#M90752</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2022-10-13T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude Users from Ranking RANKX</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840412#M90756</link>
      <description>&lt;P&gt;That was perfecft! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 18:39:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Exclude-Users-from-Ranking-RANKX/m-p/2840412#M90756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-13T18:39:11Z</dc:date>
    </item>
  </channel>
</rss>

