<?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 RANKX over text duplicates? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442168#M26985</link>
    <description>&lt;P&gt;It probably isn't necessary to add the rank column.&amp;nbsp; For example, in a table visual you can just add the ID and Text columns and it will show only the unique combination of those columns (no duplicates).&amp;nbsp; Similarly, if you make a virtual table with SUMMARIZE(Table, Table[ID], Table[text]), you can do analysis on/from that (no duplicates).&amp;nbsp; Please decribe further what analysis you plan to do.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Oct 2020 12:36:20 GMT</pubDate>
    <dc:creator>mahoneypat</dc:creator>
    <dc:date>2020-10-19T12:36:20Z</dc:date>
    <item>
      <title>How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440213#M26942</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried some of the examples of text rankings in this forums, with little to no success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's what I'd like to achieve:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My goal - filtering out all values that are different than 1 using a measure.&lt;BR /&gt;I can't use calculated columns because I'm using a Live Connection method over a Tabular Model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 07:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440213#M26942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T07:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440410#M26944</link>
      <description>&lt;P&gt;Is there another column that can be used to tell which row is first (index, datetime, etc.)?&amp;nbsp; That will make it much easier to write the needed DAX measure.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 15:20:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440410#M26944</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-10-18T15:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440466#M26945</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;, with such few mockup data, I assume you'd like to seek a very similar solution like this thread&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/DAX-Commands-and-Tips/Counting-number-of-continuos-same-entries/m-p/1439775#M26930" target="_blank" rel="noopener"&gt;https://community.powerbi.com/t5/DAX-Commands-and-Tips/Counting-number-of-continuos-same-entries/m-p/1439775#M26930&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 18:18:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440466#M26945</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2020-10-18T18:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440740#M26952</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , As suggested by &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt; , Add an index column and try a formula like &lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi" target="_blank"&gt;https://stackoverflow.com/questions/45715963/creating-an-index-column-for-power-bi&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;countx(filter(Table, [Index] &amp;lt;=earlier([index]) &amp;amp;&amp;amp; [ID] = earlier([ID])),[ID])&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 02:22:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1440740#M26952</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-19T02:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441373#M26966</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ive found another unique column I can sort this by. What would the syntax be like?&lt;/P&gt;&lt;P&gt;I tried the suggestions below here to no avail..&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 08:25:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441373#M26966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T08:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441426#M26967</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, thanks for the help but I can't use "Edit Queries", because I'm using live connection, which disables that feature.&lt;/P&gt;&lt;P&gt;I also tried the COUNTX example but PBI throws an error, saying the syntax is wrong.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 08:34:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441426#M26967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T08:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441998#M26978</link>
      <description>&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;I'm still trying using RANKX using the index column, but every row gets the value 1 for some reason..&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 11:52:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1441998#M26978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T11:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442052#M26980</link>
      <description>&lt;P&gt;Can you describe more about the analysis you plan to do once you have the desired column?&amp;nbsp; I expect there is a different approach with DAX that you get your result with a live connection.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:01:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442052#M26980</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-10-19T12:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442135#M26982</link>
      <description>&lt;P&gt;As I've mentioned in my first message - my intention is to only show the rows with the value 1 (after ranking). I don't need to display the duplicates, any instance of a certain ID is enough for my analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if this is my data:&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;Desc&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text1&lt;/P&gt;&lt;P&gt;123&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text2&lt;/P&gt;&lt;P&gt;456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't care which row of ID 123 gets rank #1.&lt;/P&gt;&lt;P&gt;I want to rank my entire table so every ID is displayed one time only. Super easy for me in SQL but seems impossible in DAX.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:25:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442135#M26982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T12:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442168#M26985</link>
      <description>&lt;P&gt;It probably isn't necessary to add the rank column.&amp;nbsp; For example, in a table visual you can just add the ID and Text columns and it will show only the unique combination of those columns (no duplicates).&amp;nbsp; Similarly, if you make a virtual table with SUMMARIZE(Table, Table[ID], Table[text]), you can do analysis on/from that (no duplicates).&amp;nbsp; Please decribe further what analysis you plan to do.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:36:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442168#M26985</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-10-19T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442195#M26986</link>
      <description>&lt;P&gt;Thank you &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="226208" data-lia-user-login="mahoneypat" class="lia-mention lia-mention-user"&gt;mahoneypat&lt;/a&gt;&amp;nbsp;for bearing with me, but I feel like I'm not explaining myself correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have unique rows in my table visual. If you could please take a look at the image I added - the ID '123' has three different text values. Each row of the three is unique, but I don't care for the other two.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is why I wanted to use a rank function, so I'd rank by ID in ascending order and filter out values that are greater than 1.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 12:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442195#M26986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T12:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442339#M26989</link>
      <description>&lt;P&gt;If I were to write it in SQL:&lt;/P&gt;&lt;P&gt;rank() over(partition by ID, order by Description) as rank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this clarifies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone please..?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 21:46:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1442339#M26989</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-19T21:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I RANKX over text duplicates?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1443110#M27020</link>
      <description>&lt;P&gt;One more suggestion.&amp;nbsp; Since you don't care with the three 123 text values is displayed, I would just make a table visual with the ID column and this measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Text Values = MIN(Table[Description])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will result in one row per ID and just one of the Description values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2020 21:58:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-RANKX-over-text-duplicates/m-p/1443110#M27020</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-10-19T21:58:47Z</dc:date>
    </item>
  </channel>
</rss>

