<?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 not showing top 1 rank value in card in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1204965#M24607</link>
    <description>&lt;P&gt;It's still showing "BOTICA CUIDAMOS" but it's right next to the rank 1 row&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TOP VALUE2.PNG" style="width: 508px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/306295i138F1A1DEF21ED51/image-size/large?v=v2&amp;amp;px=999" role="button" title="TOP VALUE2.PNG" alt="TOP VALUE2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 02:04:50 GMT</pubDate>
    <dc:creator>LuisCP2012</dc:creator>
    <dc:date>2020-07-07T02:04:50Z</dc:date>
    <item>
      <title>RANKX not showing top 1 rank value in card</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1202496#M24589</link>
      <description>&lt;P&gt;I'm doing 2 measures, one that shows business ranking by the amount of money (RANK) which is displaying properly and my TOP rank that is suppose to show the number 1 from my RANK measure, in this case it should be "SUPERMERCADO SANTILLAN", but is showing "BOTICA CUIDAMOS" for some reason.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The table I'm using is "HIST_DOC"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here is my RANK code:&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;RANK = RANKX(ALLSELECTED(HIST_DOC[NOM_EMP]), CALCULATE(SUM(HIST_DOC[MON_TOT])), , DESC)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my TOP code:&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;TOP = CALCULATE(FIRSTNONBLANK(VALUES(HIST_DOC[NOM_EMP]),1) , FILTER(HIST_DOC, [RANK] = 1))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a picture for a better understanding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TOP VALUE.PNG" style="width: 563px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/305582iC650704D47E70DA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="TOP VALUE.PNG" alt="TOP VALUE.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 03:52:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1202496#M24589</guid>
      <dc:creator>LuisCP2012</dc:creator>
      <dc:date>2020-07-06T03:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX not showing top 1 rank value in card</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1204669#M24605</link>
      <description>&lt;P&gt;Try this version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;TOP = 
var RNK = RANKX(ALLSELECTED(HIST_DOC[NOM_EMP]), CALCULATE(SUM(HIST_DOC[MON_TOT])), , DESC)
return CALCULATE(FIRSTNONBLANK(VALUES(HIST_DOC[NOM_EMP]),1) , FILTER(ALLSELECTED(HIST_DOC), RNK = 1))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Jul 2020 20:37:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1204669#M24605</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-06T20:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: RANKX not showing top 1 rank value in card</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1204965#M24607</link>
      <description>&lt;P&gt;It's still showing "BOTICA CUIDAMOS" but it's right next to the rank 1 row&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TOP VALUE2.PNG" style="width: 508px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/306295i138F1A1DEF21ED51/image-size/large?v=v2&amp;amp;px=999" role="button" title="TOP VALUE2.PNG" alt="TOP VALUE2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 02:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/RANKX-not-showing-top-1-rank-value-in-card/m-p/1204965#M24607</guid>
      <dc:creator>LuisCP2012</dc:creator>
      <dc:date>2020-07-07T02:04:50Z</dc:date>
    </item>
  </channel>
</rss>

