<?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: How do I show only the ranking of one person? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231744#M20109</link>
    <description>&lt;P&gt;I think I can create a calculated column on the table without RLS then use LOOKUPVALUE or SELECTEDVALUE to search for that salesperson's rank. However, I can't get the ranking to work. I have looked at 8 other answers so far to do RANKX but none of them have worked. The right column is the salesperson ranking based on total overcharges. Notice that salesperson "sss" is both rank 1 and 4.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&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;</description>
    <pubDate>Fri, 17 Jul 2020 20:44:57 GMT</pubDate>
    <dc:creator>ShNBl84</dc:creator>
    <dc:date>2020-07-17T20:44:57Z</dc:date>
    <item>
      <title>How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215440#M19620</link>
      <description>&lt;P&gt;I have a table of employees and their scores. The employees use row level security when they log in to view the report. I am trying to create a measure that displays ONLY their ranking number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My setup is based on two tables: one has their names and scores and is subject to the RLS and the other table is the same but is not subject to the RLS. There is no relationship connection between them so that I can filter the first table by RLS and compare those results to a benchmarking table with no data filtered.&lt;/P&gt;&lt;P&gt;If that is too confusing, imagine a table with their names only that has no relationship to a table with their names and scores and I want to use a slicer from the first table to show just the rank score (probably using SELECTEDVALUE() or something).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got as far as making the RANKX measure successfully, but it shows all names and all ranks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I make a measure that results in only the number rank of the individual?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 18:19:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215440#M19620</guid>
      <dc:creator>ShNBl84</dc:creator>
      <dc:date>2020-07-10T18:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215688#M19624</link>
      <description>&lt;P&gt;I don't think Lookupvalue can work in such a scenario as it probably requires a column at the other end. Let's try with some sample data.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 22:08:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215688#M19624</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-10T22:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215735#M19626</link>
      <description>&lt;P&gt;I think you will have to make the ranking a static value (a column), defined before DAX. Either in Power Query or at the source. It can be a ranking with gaps (caused by RLS), and then you can do a rankx over that column to arrive at the individual's rank among the people exposed by RLS.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 23:16:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1215735#M19626</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-10T23:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1218741#M19745</link>
      <description>Well, the second table that's not subject to RLS should store the rank value next to each name. Then you can just retrieve this value based on the currently visible name in the RLS-controlled table using FILTER and some scalar returning function. Or, you can connect the two tables on names and then the RLS-controlled table will filter the right row and you can harvest the value with SELECTEDVALUE.&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;D</description>
      <pubDate>Mon, 13 Jul 2020 14:43:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1218741#M19745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-13T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231744#M20109</link>
      <description>&lt;P&gt;I think I can create a calculated column on the table without RLS then use LOOKUPVALUE or SELECTEDVALUE to search for that salesperson's rank. However, I can't get the ranking to work. I have looked at 8 other answers so far to do RANKX but none of them have worked. The right column is the salesperson ranking based on total overcharges. Notice that salesperson "sss" is both rank 1 and 4.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&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;</description>
      <pubDate>Fri, 17 Jul 2020 20:44:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231744#M20109</guid>
      <dc:creator>ShNBl84</dc:creator>
      <dc:date>2020-07-17T20:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231765#M20111</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="65169" data-lia-user-login="ShNBl84" class="lia-mention lia-mention-user"&gt;ShNBl84&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;P&gt;Create a new Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Table = SUMMARIZE ('Table', 'Table'[SalesPerson],'Table'[Overcharge])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then create a RANK column in this Table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculated Column = RANKX ( 'New Table'[SalesPerson], 'Table'[Overcharge],,DESC)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check if these 2 links help for Data Masking&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://radacad.com/what-do-you-need-to-implement-dynamic-row-level-security-in-power-bi" target="_blank"&gt;https://radacad.com/what-do-you-need-to-implement-dynamic-row-level-security-in-power-bi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://radacad.com/secure-the-sensitive-data-in-power-bi-data-masking-better-with-row-level-security" target="_blank"&gt;https://radacad.com/secure-the-sensitive-data-in-power-bi-data-masking-better-with-row-level-security&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 18:36:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231765#M20111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T18:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show only the ranking of one person?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231999#M20123</link>
      <description>&lt;P&gt;I would like to have a date slicer in there to see rank by time frame, so a SUMMARIZE would not help. Does RANKX only work on tables with one row per salesperson?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 20:45:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-show-only-the-ranking-of-one-person/m-p/1231999#M20123</guid>
      <dc:creator>ShNBl84</dc:creator>
      <dc:date>2020-07-17T20:45:24Z</dc:date>
    </item>
  </channel>
</rss>

